Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Brian Masney <[email protected]> Reviewed-by: Brian Masney <[email protected]> Reviewed-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information