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. 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(-) -- 2.37.1