diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-21 21:27:12 +0100 | 
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-18 18:48:19 +0100 | 
| commit | 9ec91dd4e9444ead21cc07a9b7a99a9e96a47801 (patch) | |
| tree | 3756f553f931abe46a3abcb806b26276c8ebaf09 /lib/mpi/mpi-internal.h | |
| parent | 7b79cda9e297023ad605efaf9a0ae0cf7e27e70d (diff) | |
iio: light: isl29028: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr()
Using these new macros allows removal of unused pm_ops structure
and functions if !CONFIG_PM without the need to mark the functions
__maybe_unused.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Brian Masney <masneyb@onstation.org>
Reviewed-by: Brian Masney <masneyb@onstation.org>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-30-jic23@kernel.org
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
