Linux IIO development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: linux-iio <linux-iio@vger.kernel.org>,
	Gwendal Grignou <gwendal@chromium.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Himanshu Jha <himanshujha199640@gmail.com>,
	Song Qiang <songqiang1304521@gmail.com>,
	Tomasz Duszynski <tduszyns@gmail.com>,
	Song Bao Hua <song.bao.hua@hisilicon.com>,
	Paul Cercueil <paul@crapouillou.net>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	William Markezana <william.markezana@meas-spec.com>,
	Ludovic Tancerel <ludovic.tancerel@maplehightech.com>,
	Renato Lui Geh <renatogeh@gmail.com>,
	Michael Hennerich <Michael.Hennerich@analog.com>
Subject: Re: [PATCH 00/16] 2nd set of IIO export namespaces
Date: Fri, 18 Feb 2022 11:39:53 +0000	[thread overview]
Message-ID: <20220218113953.08d63849@jic23-huawei> (raw)
In-Reply-To: <CAHp75Vf1SguefmPDMtm87O8h8AU2Hy3r7RaJ4o6yy9k87F4MqQ@mail.gmail.com>

On Mon, 31 Jan 2022 12:50:32 +0200
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:

> On Sun, Jan 30, 2022 at 10:50 PM Jonathan Cameron <jic23@kernel.org> wrote:
> >
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Whilst I'm still looking for additional review on the first set,
> > I'll take the quiet as meaning no one objects and send out a second
> > set.  Note that I don't have anyone cc'd on some of these because
> > I couldn't immediately figure out who was still active and familiar
> > with the drivers.  As these should be simple to review, please take
> > a look at as many as you have time for!
> >
> > Here's the reasoning as per the first set cover letter.
> > Note that we have some clashes with patches that I'd like to clean
> > up the handling of dev_pm_ops and CONFIG_PM* guards so for now
> > I've dropped those cases from this series.
> >
> > https://lwn.net/Articles/760045/ provides a good overview of this feature
> > and why it might be used.  In this particular case we fall under the multi
> > module case.  For each group of modules, I've moved the exports into
> > an independent namespace.
> >
> > Whilst I'm not entirely sure it is worth the noise of moving the main
> > IIO exports into a namespace, it is definitely worthwhile for these small
> > clusters of related modules (typically a core + i2c and spi modules).
> >
> > I've just done those within drivers/accel (including all of st-sensors as
> > I did not want to do that piecemeal) as an initial set to get feedback on
> > what people think of the approach and in particular naming of the namespaces.
> >
> > As you can see it is a straight forward change to makes so I'll do the
> > rest of the IIO drivers once we are agreed on the generic details.
> > Note that I'll be expecting this for any new cases of this pattern going
> > forwards.
> >
> > Includes a small diversion in st-sensors where we had a bunch of duplicated
> > MODULE_* macros for some of the core modules which were made up of multiple
> > c files.  
> 
> I briefly looked at the series and found no drastical issues (hope CI
> will find, if any), so
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Thanks

Series applied to the togreg branch of iio.git and pushed out as testing
to see if CI can find anything.

Thanks,

Jonathan
> 
> > Cc: Himanshu Jha <himanshujha199640@gmail.com>
> > Cc: Song Qiang <songqiang1304521@gmail.com>
> > Cc: Tomasz Duszynski <tduszyns@gmail.com>
> > Cc: Lars-Peter Clausen <lars@metafoo.de>
> > Cc: Song Bao Hua (Barry Song) <song.bao.hua@hisilicon.com>
> > Cc: Paul Cercueil <paul@crapouillou.net>
> > Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> > Cc: William Markezana <william.markezana@meas-spec.com>
> > Cc: Ludovic Tancerel <ludovic.tancerel@maplehightech.com>
> > Cc: Renato Lui Geh <renatogeh@gmail.com>
> > Cc: Michael Hennerich <Michael.Hennerich@analog.com>
> >
> >
> > Jonathan Cameron (16):
> >   iio:adc:ad_sigma_delta: Move exports into IIO_AD_SIGMA_DELTA namespace
> >   iio:adc:ad7091r: Move exports into IIO_AD7091R namespace.
> >   iio:adc:ad76060: Move exports into IIO_AD7606 namespace.
> >   iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS
> >   iio:common:ssp_sensors: Move exports into IIO_SSP_SENSORS namespace
> >   iio:dac:ad5592r: Move exports into IIO_AD5592R namespace
> >   iio:dac:ad5686: Move exports into IIO_AD5686 namespace
> >   iio:imu:adis: Move exports into IIO_ADISLIB namespace
> >   iio:pressure:zpa2326: Move exports into IIO_ZPA2326 namespace
> >   iio:pressure:ms5611: Move exports into IIO_MS5611 namespace
> >   iio:pressure:mpl115: Move exports into IIO_MPL115 namespace
> >   iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace
> >   iio:magnetometer:bmc150: Move exports to IIO_BMC150_MAGN namespace
> >   iio:magnetometer:hmc5843: Move exports to IIO_HMC5843 namespace
> >   iio:light:st_uvis25: Move exports to IIO_UVIS25 namespace
> >   iio:chemical:bme680: Move exports to IIO_BME680 namespace
> >
> >  drivers/iio/accel/adis16201.c                 |  1 +
> >  drivers/iio/accel/adis16209.c                 |  1 +
> >  drivers/iio/accel/ssp_accel_sensor.c          |  1 +
> >  drivers/iio/adc/ad7091r-base.c                |  4 ++--
> >  drivers/iio/adc/ad7091r5.c                    |  1 +
> >  drivers/iio/adc/ad7124.c                      |  1 +
> >  drivers/iio/adc/ad7192.c                      |  1 +
> >  drivers/iio/adc/ad7606.c                      |  4 ++--
> >  drivers/iio/adc/ad7606_par.c                  |  1 +
> >  drivers/iio/adc/ad7606_spi.c                  |  1 +
> >  drivers/iio/adc/ad7780.c                      |  1 +
> >  drivers/iio/adc/ad7791.c                      |  1 +
> >  drivers/iio/adc/ad7793.c                      |  1 +
> >  drivers/iio/adc/ad_sigma_delta.c              | 20 ++++++++--------
> >  drivers/iio/chemical/bme680_core.c            |  4 ++--
> >  drivers/iio/chemical/bme680_i2c.c             |  1 +
> >  drivers/iio/chemical/bme680_spi.c             |  1 +
> >  .../iio/common/ms_sensors/ms_sensors_i2c.c    | 24 +++++++++----------
> >  drivers/iio/common/ssp_sensors/ssp_dev.c      | 10 ++++----
> >  drivers/iio/common/ssp_sensors/ssp_iio.c      |  7 +++---
> >  drivers/iio/dac/ad5592r-base.c                |  4 ++--
> >  drivers/iio/dac/ad5592r.c                     |  1 +
> >  drivers/iio/dac/ad5593r.c                     |  1 +
> >  drivers/iio/dac/ad5686-spi.c                  |  1 +
> >  drivers/iio/dac/ad5686.c                      |  4 ++--
> >  drivers/iio/dac/ad5696-i2c.c                  |  1 +
> >  drivers/iio/gyro/adis16136.c                  |  1 +
> >  drivers/iio/gyro/adis16260.c                  |  1 +
> >  drivers/iio/gyro/ssp_gyro_sensor.c            |  1 +
> >  drivers/iio/humidity/htu21.c                  |  1 +
> >  drivers/iio/imu/adis.c                        | 20 ++++++++--------
> >  drivers/iio/imu/adis16400.c                   |  1 +
> >  drivers/iio/imu/adis16460.c                   |  1 +
> >  drivers/iio/imu/adis16475.c                   |  1 +
> >  drivers/iio/imu/adis16480.c                   |  1 +
> >  drivers/iio/imu/adis_buffer.c                 |  4 ++--
> >  drivers/iio/imu/adis_trigger.c                |  2 +-
> >  drivers/iio/light/st_uvis25_core.c            |  4 ++--
> >  drivers/iio/light/st_uvis25_i2c.c             |  1 +
> >  drivers/iio/light/st_uvis25_spi.c             |  1 +
> >  drivers/iio/magnetometer/bmc150_magn.c        |  8 +++----
> >  drivers/iio/magnetometer/bmc150_magn_i2c.c    |  1 +
> >  drivers/iio/magnetometer/bmc150_magn_spi.c    |  1 +
> >  drivers/iio/magnetometer/hmc5843_core.c       |  8 +++----
> >  drivers/iio/magnetometer/hmc5843_i2c.c        |  1 +
> >  drivers/iio/magnetometer/hmc5843_spi.c        |  1 +
> >  drivers/iio/magnetometer/rm3100-core.c        |  8 +++----
> >  drivers/iio/magnetometer/rm3100-i2c.c         |  1 +
> >  drivers/iio/magnetometer/rm3100-spi.c         |  1 +
> >  drivers/iio/pressure/mpl115.c                 |  2 +-
> >  drivers/iio/pressure/mpl115_i2c.c             |  1 +
> >  drivers/iio/pressure/mpl115_spi.c             |  1 +
> >  drivers/iio/pressure/ms5611_core.c            |  4 ++--
> >  drivers/iio/pressure/ms5611_i2c.c             |  1 +
> >  drivers/iio/pressure/ms5611_spi.c             |  1 +
> >  drivers/iio/pressure/ms5637.c                 |  1 +
> >  drivers/iio/pressure/zpa2326.c                | 12 +++++-----
> >  drivers/iio/pressure/zpa2326_i2c.c            |  1 +
> >  drivers/iio/pressure/zpa2326_spi.c            |  1 +
> >  drivers/iio/temperature/tsys01.c              |  1 +
> >  drivers/iio/temperature/tsys02d.c             |  1 +
> >  drivers/staging/iio/accel/adis16203.c         |  1 +
> >  drivers/staging/iio/accel/adis16240.c         |  1 +
> >  63 files changed, 121 insertions(+), 76 deletions(-)
> >
> > --
> > 2.35.1
> >  
> 
> 


  reply	other threads:[~2022-02-18 11:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-30 20:56 [PATCH 00/16] 2nd set of IIO export namespaces Jonathan Cameron
2022-01-30 20:56 ` [PATCH 01/16] iio:adc:ad_sigma_delta: Move exports into IIO_AD_SIGMA_DELTA namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 02/16] iio:adc:ad7091r: Move exports into IIO_AD7091R namespace Jonathan Cameron
2022-01-31 13:53   ` Paul Cercueil
2022-01-30 20:56 ` [PATCH 03/16] iio:adc:ad76060: Move exports into IIO_AD7606 namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 04/16] iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS Jonathan Cameron
2022-01-30 20:56 ` [PATCH 05/16] iio:common:ssp_sensors: Move exports into IIO_SSP_SENSORS namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 06/16] iio:dac:ad5592r: Move exports into IIO_AD5592R namespace Jonathan Cameron
2022-01-31 13:55   ` Paul Cercueil
2022-01-30 20:56 ` [PATCH 07/16] iio:dac:ad5686: Move exports into IIO_AD5686 namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 08/16] iio:imu:adis: Move exports into IIO_ADISLIB namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 09/16] iio:pressure:zpa2326: Move exports into IIO_ZPA2326 namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 10/16] iio:pressure:ms5611: Move exports into IIO_MS5611 namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 11/16] iio:pressure:mpl115: Move exports into IIO_MPL115 namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 12/16] iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 13/16] iio:magnetometer:bmc150: Move exports to IIO_BMC150_MAGN namespace Jonathan Cameron
2022-01-30 20:56 ` [PATCH 14/16] iio:magnetometer:hmc5843: Move exports to IIO_HMC5843 namespace Jonathan Cameron
2022-01-30 20:57 ` [PATCH 15/16] iio:light:st_uvis25: Move exports to IIO_UVIS25 namespace Jonathan Cameron
2022-01-30 20:57 ` [PATCH 16/16] iio:chemical:bme680: Move exports to IIO_BME680 namespace Jonathan Cameron
2022-01-31 10:50 ` [PATCH 00/16] 2nd set of IIO export namespaces Andy Shevchenko
2022-02-18 11:39   ` Jonathan Cameron [this message]
2022-01-31 10:56 ` Andy Shevchenko

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=20220218113953.08d63849@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=gwendal@chromium.org \
    --cc=himanshujha199640@gmail.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=ludovic.tancerel@maplehightech.com \
    --cc=paul@crapouillou.net \
    --cc=renatogeh@gmail.com \
    --cc=song.bao.hua@hisilicon.com \
    --cc=songqiang1304521@gmail.com \
    --cc=tduszyns@gmail.com \
    --cc=william.markezana@meas-spec.com \
    /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