diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2022-10-03 11:12:48 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:44:03 +0000 |
commit | f7e6804509eeb27accc6625150db3f02d0b93ad7 (patch) | |
tree | ba9796701a41ca39105d5b7cf9be277ecd01a685 /include/linux/iio/buffer_impl.h | |
parent | f0ab171b80d49a2a47b88f79de38ca64c7d641d4 (diff) | |
download | linux-f7e6804509eeb27accc6625150db3f02d0b93ad7.tar.gz linux-f7e6804509eeb27accc6625150db3f02d0b93ad7.tar.bz2 linux-f7e6804509eeb27accc6625150db3f02d0b93ad7.zip |
iio: adxl372: 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>
Link: https://lore.kernel.org/r/3632af8849ef101c54ec1f739596f22c773b067c.1664782676.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/buffer_impl.h')
0 files changed, 0 insertions, 0 deletions