From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Rikard Falkeborn <rikard.falkeborn@gmail.com>,
linux-pm@vger.kernel.org,
Michael Hennerich <Michael.Hennerich@analog.com>
Subject: [PATCH 0/6] drivers/iio: Constify structs
Date: Tue, 26 May 2020 23:02:17 +0200 [thread overview]
Message-ID: <20200526210223.1672-1-rikard.falkeborn@gmail.com> (raw)
Constify a number of static structs to allow the compiler to put them in
read-only memory. The patches are independent.
Rikard Falkeborn (6):
iio: adc: max11100: Constify struct iio_chan_spec
iio: dac: ad5380: Constify struct iio_chan_spec_ext_info
iio: dac: ad5592r-base: Constify struct iio_chan_spec_ext_info
iio: dac: ad5686: Constify static struct iio_chan_spec
iio: light: stk3310: Constify regmap_config
iio: magnetometer: mmc35240: Constify struct reg_default
drivers/iio/adc/max11100.c | 2 +-
drivers/iio/dac/ad5380.c | 2 +-
drivers/iio/dac/ad5592r-base.c | 2 +-
drivers/iio/dac/ad5686.c | 8 ++++----
drivers/iio/dac/ad5686.h | 2 +-
drivers/iio/light/stk3310.c | 2 +-
drivers/iio/magnetometer/mmc35240.c | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
--
2.26.2
next reply other threads:[~2020-05-26 21:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-26 21:02 Rikard Falkeborn [this message]
2020-05-26 21:02 ` [PATCH 4/6] iio: dac: ad5686: Constify static struct iio_chan_spec Rikard Falkeborn
2020-05-27 4:50 ` Ardelean, Alexandru
2020-05-31 13:47 ` Jonathan Cameron
2020-08-18 19:30 ` Rikard Falkeborn
2020-08-22 10:31 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200526210223.1672-1-rikard.falkeborn@gmail.com \
--to=rikard.falkeborn@gmail.com \
--cc=Michael.Hennerich@analog.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).