diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-05-26 23:02:21 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 19:40:47 +0100 |
commit | 59713492b7866e031e0c66e25f4f034c96f1be5a (patch) | |
tree | 135e5bceec4d6546ade3f35f7be0a63be0501e7d /crypto | |
parent | 8dd746d1e3cbac2986757e733baa38f6896dd7e0 (diff) | |
download | linux-59713492b7866e031e0c66e25f4f034c96f1be5a.tar.gz linux-59713492b7866e031e0c66e25f4f034c96f1be5a.tar.bz2 linux-59713492b7866e031e0c66e25f4f034c96f1be5a.zip |
iio: dac: ad5686: Constify static struct iio_chan_spec
These are never modified and can be made const to allow the compiler to
put it in read-only memory.
Before:
text data bss dec hex filename
6642 12608 64 19314 4b72 drivers/iio/dac/ad5686.o
After:
text data bss dec hex filename
16946 2304 64 19314 4b72 drivers/iio/dac/ad5686.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions