diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-05-26 23:02:19 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-14 11:49:35 +0100 |
commit | 948e6dd16d53726687ac4859791bd964c06512fc (patch) | |
tree | 6b6a061d8537ab68bad00920db64afd865078c8c /net/caif | |
parent | ce6c3736d9b0162478e7d8a1b725399aa5f6038d (diff) |
iio: dac: ad5380: Constify struct iio_chan_spec_ext_info
ad5380_ext_info is not modified and can be made const to allow the
compiler to put it in read-only memory.
Before:
text data bss dec hex filename
12060 3280 192 15532 3cac drivers/iio/dac/ad5380.o
After:
text data bss dec hex filename
12252 3088 192 15532 3cac drivers/iio/dac/ad5380.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 'net/caif')
0 files changed, 0 insertions, 0 deletions