On Sun, 7 Aug 2022 19:45:32 +0100 Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > This driver was taking an unusual approach to handling the optionality of > structures / callbacks depending on CONFIG_PM. Bring it inline with > other similar drivers. > > Part of continuing to move IIO over to the new PM macros that don't require > such complex handling. Obviously setting a bad example here. Should have include iio: magn: hmc5843 as prefix for this cover letter. Sorry about that! > > Jonathan Cameron (2): > iio: magn: hmc5843: Drop excessive indentation of assignments of > hmc5843_driver > iio: magn: hmc5843: Move struct dev_pm_ops out of header > > drivers/iio/magnetometer/hmc5843.h | 13 +------------ > drivers/iio/magnetometer/hmc5843_core.c | 8 ++++---- > drivers/iio/magnetometer/hmc5843_i2c.c | 2 +- > drivers/iio/magnetometer/hmc5843_spi.c | 14 +++++++------- > 4 files changed, 13 insertions(+), 24 deletions(-) >