diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-05-26 23:02:18 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-14 11:49:33 +0100 |
commit | ce6c3736d9b0162478e7d8a1b725399aa5f6038d (patch) | |
tree | ac0b0e9cb40f2f552f86aa372da5e485d3cbd548 /drivers/iio/dac | |
parent | ab4dd0128f637c6af159ab0ea79ea0fb4166fd8f (diff) |
iio: adc: max11100: Constify struct iio_chan_spec
max11100_channels is not modified and can therefore be made const to
allow the compiler to put it in read-only memory.
Before:
text data bss dec hex filename
3776 1168 0 4944 1350 drivers/iio/adc/max11100.o
After:
text data bss dec hex filename
3968 976 0 4944 1350 drivers/iio/adc/max11100.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions