On Sat, 4 Jun 2022 17:12:18 +0100 Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > Resend as the first part of this series went via Rafael's tree and is > now available in mainline. > > Hence time to return to the remainder which didn't really get much review > the first time around as focus was on the more interesting new macros > in the first few patches. > 4 out of 5 ain't bad. (remaining one is my driver so hard to lean on anyone else to review :) Applied to the togreg branch of iio.git and pushed out as testing for all the normal reasons. Thanks, Jonathan > Now we have NS specific EXPORT_NS[_GPL]_SIMPLE_DEV_PM_OPS() etc > we can move these drivers over to their own namespaces reducing polution > of the global namespace with exports that are only of interest > within multi module drivers. > > All comments welcome, > > Thanks, > > Jonathan > > > Jonathan Cameron (5): > iio:accel:kxsd9: Switch from CONFIG_PM guards to pm_ptr() etc > iio: humidity: hts221: Use EXPORT_SIMPLE_DEV_PM_OPS() to allow > compiler to remove dead code. > iio: humidity: hts221: Move symbol exports into IIO_HTS221 namespace > iio: imu: lsm6dsx: Use new pm_sleep_ptr() and > EXPORT_SIMPLE_DEV_PM_OPS() > iio: imu: lsm6dsx: Move exported symbols to the IIO_LSM6DSX namespace > > drivers/iio/accel/kxsd9-i2c.c | 2 +- > drivers/iio/accel/kxsd9-spi.c | 2 +- > drivers/iio/accel/kxsd9.c | 11 ++--------- > drivers/iio/humidity/hts221_core.c | 12 +++++------- > drivers/iio/humidity/hts221_i2c.c | 3 ++- > drivers/iio/humidity/hts221_spi.c | 3 ++- > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 12 +++++------- > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 3 ++- > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 3 ++- > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 3 ++- > 10 files changed, 24 insertions(+), 30 deletions(-) >