Re: [PATCH 5/6] iio: light: stk3310: Constify regmap_config

2020-05-31 Thread Jonathan Cameron
On Tue, 26 May 2020 23:02:22 +0200 Rikard Falkeborn wrote: > stk3310_regmap_config is not modified and can be made const to allow the > compiler to put it in read-only memory. > > Before: >textdata bss dec hex filename > 160275424 128 21579544b

[PATCH 5/6] iio: light: stk3310: Constify regmap_config

2020-05-26 Thread Rikard Falkeborn
stk3310_regmap_config is not modified and can be made const to allow the compiler to put it in read-only memory. Before: textdata bss dec hex filename 160275424 128 21579544b drivers/iio/light/stk3310.o After: textdata bss dec hex filename