Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: light: veml6030: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() ma…
…cros Using these new macros allows the compiler to remove the unused dev_pm_ops structure and related functions if !CONFIG_PM without the need to mark the functions __maybe_unused. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Rishi Gupta <[email protected]> Reviewed-by: Rishi Gupta <[email protected]> Reviewed-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information