From: Linus Walleij <linus.walleij@linaro.org>
To: Jonathan Cameron <jic23@kernel.org>, linux-iio@vger.kernel.org
Cc: Giuseppe Barba <giuseppe.barba@st.com>,
Denis Ciocca <denis.ciocca@st.com>,
Gregor Boirie <gregor.boirie@parrot.com>,
Crestez Dan Leonard <leonard.crestez@intel.com>,
Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 0/4] ST Sensors: inline sensor data
Date: Wed, 9 Nov 2016 16:09:56 +0100 [thread overview]
Message-ID: <1478704200-19046-1-git-send-email-linus.walleij@linaro.org> (raw)
Based on a comment from Jonathan that he would not do this kludgy
define-then-use for all the sensor properties today, refactor all
the ST sensors by inlining the per-sensor data.
Linus Walleij (4):
iio: accel: st_accel: inline per-sensor data
iio: gyro: st_gyro: inline per-sensor data
iio: magn: st_magn: inline per-sensor data
iio: pressure: st_pressure: inline per-sensor data
drivers/iio/accel/st_accel_core.c | 538 +++++++++++---------------------
drivers/iio/gyro/st_gyro_core.c | 205 ++++--------
drivers/iio/magnetometer/st_magn_core.c | 376 ++++++++--------------
drivers/iio/pressure/st_pressure_core.c | 257 ++++++---------
4 files changed, 460 insertions(+), 916 deletions(-)
--
2.7.4
next reply other threads:[~2016-11-09 15:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 15:09 Linus Walleij [this message]
2016-11-09 15:09 ` [PATCH 1/4] iio: accel: st_accel: inline per-sensor data Linus Walleij
2016-11-12 15:29 ` Jonathan Cameron
2016-11-12 15:34 ` Jonathan Cameron
2016-11-09 15:09 ` [PATCH 2/4] iio: gyro: st_gyro: " Linus Walleij
2016-11-12 15:38 ` Jonathan Cameron
2016-11-09 15:09 ` [PATCH 3/4] iio: magn: st_magn: " Linus Walleij
2016-11-12 15:45 ` Jonathan Cameron
2016-11-09 15:10 ` [PATCH 4/4] iio: pressure: st_pressure: " Linus Walleij
2016-11-12 15:50 ` 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=1478704200-19046-1-git-send-email-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=denis.ciocca@st.com \
--cc=giuseppe.barba@st.com \
--cc=gregor.boirie@parrot.com \
--cc=jic23@kernel.org \
--cc=leonard.crestez@intel.com \
--cc=linux-iio@vger.kernel.org \
/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).