Re: [PATCH 4/6] iio: dac: ad5686: Constify static struct iio_chan_spec

2020-08-22 Thread Jonathan Cameron
On Tue, 18 Aug 2020 21:30:17 +0200 Rikard Falkeborn wrote: > On Sun, May 31, 2020 at 02:47:15PM +0100, Jonathan Cameron wrote: > > On Wed, 27 May 2020 04:50:46 + > > "Ardelean, Alexandru" wrote: > > > > > On Tue, 2020-05-26 at 23:02 +0200, Rikard Falkeborn wrote: > > > > [External] > >

Re: [PATCH 4/6] iio: dac: ad5686: Constify static struct iio_chan_spec

2020-08-18 Thread Rikard Falkeborn
On Sun, May 31, 2020 at 02:47:15PM +0100, Jonathan Cameron wrote: > On Wed, 27 May 2020 04:50:46 + > "Ardelean, Alexandru" wrote: > > > On Tue, 2020-05-26 at 23:02 +0200, Rikard Falkeborn wrote: > > > [External] > > > > > > These are never modified and can be made const to allow the

Re: [PATCH 4/6] iio: dac: ad5686: Constify static struct iio_chan_spec

2020-05-31 Thread Jonathan Cameron
On Wed, 27 May 2020 04:50:46 + "Ardelean, Alexandru" wrote: > On Tue, 2020-05-26 at 23:02 +0200, Rikard Falkeborn wrote: > > [External] > > > > These are never modified and can be made const to allow the compiler to > > put it in read-only memory. > > > > Before: > >textdata

Re: [PATCH 4/6] iio: dac: ad5686: Constify static struct iio_chan_spec

2020-05-26 Thread Ardelean, Alexandru
On Tue, 2020-05-26 at 23:02 +0200, Rikard Falkeborn wrote: > [External] > > These are never modified and can be made const to allow the compiler to > put it in read-only memory. > > Before: >textdata bss dec hex filename >6642 12608 64 193144b72

[PATCH 4/6] iio: dac: ad5686: Constify static struct iio_chan_spec

2020-05-26 Thread Rikard Falkeborn
These are never modified and can be made const to allow the compiler to put it in read-only memory. Before: textdata bss dec hex filename 6642 12608 64 193144b72 drivers/iio/dac/ad5686.o After: textdata bss dec hex filename 169462304