> From: Jonathan Cameron <jic23@xxxxxxxxxx> > Sent: Tuesday, June 21, 2022 10:27 PM > To: linux-iio@xxxxxxxxxxxxxxx; Paul Cercueil <paul@xxxxxxxxxxxxxxx> > Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>; Brian Masney > <masneyb@xxxxxxxxxxxxx>; David Heidelberg <david@xxxxxxx>; Cai > Huoqing <cai.huoqing@xxxxxxxxx>; Christian Eggers > <ceggers@xxxxxxx>; Enric Balletbo i Serra > <enric.balletbo@xxxxxxxxxxxxx>; Eugen Hristev > <eugen.hristev@xxxxxxxxxxxxx>; Gwendal Grignou > <gwendal@xxxxxxxxxxxx>; Haibo Chen <haibo.chen@xxxxxxx>; Hui > Liu <hui.liu@xxxxxxxxxxxx>; Joe Sandom > <joe.g.sandom@xxxxxxxxx>; Ismail H . Kose <ihkose@xxxxxxxxx>; > Lars-Peter Clausen <lars@xxxxxxxxxx>; Linus Walleij > <linus.walleij@xxxxxxxxxx>; Ludovic Desroches > <ludovic.desroches@xxxxxxxxxxxxx>; Nicolas Ferre > <nicolas.ferre@xxxxxxxxxxxxx>; Marcus Folkesson > <marcus.folkesson@xxxxxxxxx>; Martin Blumenstingl > <martin.blumenstingl@xxxxxxxxxxxxxx>; Mathieu Othacehe > <m.othacehe@xxxxxxxxx>; Michal Simek <michal.simek@xxxxxxxxxx>; > Miquel Raynal <miquel.raynal@xxxxxxxxxxx>; Sa, Nuno > <Nuno.Sa@xxxxxxxxxx>; Parthiban Nallathambi <pn@xxxxxxx>; > Philippe Reynes <tremyfr@xxxxxxxx>; Philippe Schenker > <philippe.schenker@xxxxxxxxxxx>; Rishi Gupta <gupt21@xxxxxxxxx>; > Roan van Dijk <roan@xxxxxxxxxxx>; Stephen Boyd > <swboyd@xxxxxxxxxxxx>; Tomasz Duszynski <tduszyns@xxxxxxxxx>; > Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx>; Jonathan Cameron > <Jonathan.Cameron@xxxxxxxxxx> > Subject: [PATCH 25/36] iio: temperature: ltc2983: Switch to > DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() > > > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > Using these newer macros allows the compiler to remove the unused > structure and functions when !CONFIG_PM_SLEEP + removes the > need to > mark pm functions __maybe_unused. > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > Cc: Nuno Sá <nuno.sa@xxxxxxxxxx> > --- Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>