]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: adc: meson-saradc: mark all meson_sar_adc_data static and const
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 6 May 2017 13:49:27 +0000 (15:49 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 7 May 2017 11:22:40 +0000 (12:22 +0100)
commitc1c2de37c7bef8d335ad9483fd560311b9aa45de
tree9c5bb6030120b72cd7b00700a2165ca7f7326096
parenta78587d338d084037b0ea6687508f207d8dec2fb
iio: adc: meson-saradc: mark all meson_sar_adc_data static and const

These are only passed as of_device_id.data and never modified. Thus we
can mark them as static const, just like the of_device_id instances
where they are used.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/meson_saradc.c