]> www.infradead.org Git - users/hch/misc.git/commit
iio: Remove single use of macro definition for IRQ name
authorWaqar Hameed <waqar.hameed@axis.com>
Tue, 27 May 2025 14:45:42 +0000 (16:45 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Jun 2025 06:45:36 +0000 (07:45 +0100)
commita8c1039c0620de36d55bdc86447d1597c1d03c5c
tree6dfc5b729a16650e02ef025bfa19112f70a0288e
parent178e4bc1e4398e9b051acd2ace7118427136bee9
iio: Remove single use of macro definition for IRQ name

There is really no reason for having the IRQ name as a macro definition
if it is only used once (often in functions requesting the IRQ). It
is also more readable this way. Remove these macro definitions and
instead use the string literal directly.

Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
Link: https://patch.msgid.link/3dc06cb2a83d292c50d9758643aad37ca5c6d95c.1748356671.git.waqar.hameed@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
15 files changed:
drivers/iio/accel/bmc150-accel-core.c
drivers/iio/accel/kxcjk-1013.c
drivers/iio/accel/mma9551.c
drivers/iio/accel/mma9553.c
drivers/iio/accel/mxc4005.c
drivers/iio/accel/stk8312.c
drivers/iio/accel/stk8ba50.c
drivers/iio/gyro/bmg160_core.c
drivers/iio/imu/kmx61.c
drivers/iio/light/apds9300.c
drivers/iio/light/rpr0521.c
drivers/iio/light/stk3310.c
drivers/iio/light/vcnl4035.c
drivers/iio/magnetometer/bmc150_magn.c
drivers/iio/proximity/sx9500.c