iio: Remove single use of macro definition for driver name
authorWaqar Hameed <waqar.hameed@axis.com>
Tue, 27 May 2025 14:45:41 +0000 (16:45 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Jun 2025 06:45:36 +0000 (07:45 +0100)
commit178e4bc1e4398e9b051acd2ace7118427136bee9
treeb7581b218ce1d67224c78cc6104333bc02f4c427
parentfe03825b1a6c5cb6a31a21fca8d8cbe075991ad3
iio: Remove single use of macro definition for driver name

There is really no reason for having the driver name as a macro
definition if it is only used once (often as `.name` in `struct
device_driver`). 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/4840779a167e027b8be77c82f7a4f27210ef084a.1748356671.git.waqar.hameed@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
13 files changed:
drivers/iio/accel/kxcjk-1013.c
drivers/iio/accel/mma9551.c
drivers/iio/accel/mma9553.c
drivers/iio/accel/sca3300.c
drivers/iio/adc/hi8435.c
drivers/iio/adc/max9611.c
drivers/iio/adc/vf610_adc.c
drivers/iio/dac/max517.c
drivers/iio/dac/mcp4725.c
drivers/iio/humidity/dht11.c
drivers/iio/imu/kmx61.c
drivers/iio/light/ltr501.c
drivers/iio/resolver/ad2s1200.c