summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/mcp3422.c
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2022-10-03 11:13:31 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 19:44:03 +0000
commitc1531e3ad43f5e66cd04ae19644343b9222204d2 (patch)
treeb160235b70eba74c76b287d1f265f73fc425429a /drivers/iio/adc/mcp3422.c
parentc02b2a5166a58823e8a335c486ee71ce4f22f2b7 (diff)
downloadlinux-c1531e3ad43f5e66cd04ae19644343b9222204d2.tar.bz2
iio: at91-sama5d2_adc: Use IIO_STATIC_CONST_DEVICE_ATTR()
Slightly simplify by dropping open-coded constant data iio_dev_attr functions and using the IIO_STATIC_CONST_DEVICE_ATTR() instead. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/4476a4ce852febb3eb863878e66751c787195b18.1664782676.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/mcp3422.c')
0 files changed, 0 insertions, 0 deletions