diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-21 21:26:51 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-18 18:48:17 +0100 |
| commit | 0fda2c652d41012bf4e104f19c2cb6d113f1318b (patch) | |
| tree | 5102757c9d3362d78b7de894f5543dd948802339 /lib/mpi/mpiutil.c | |
| parent | 0b1e58e9ed3c2c007250ece18e1c9f92f1d04c1a (diff) | |
iio: adc: ti-am335x: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
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@huawei.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-9-jic23@kernel.org
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
