diff options
| author | 2022-06-21 21:27:05 +0100 | |
|---|---|---|
| committer | 2022-07-18 18:48:18 +0100 | |
| commit | 7eff2dcec69c04f60144e2c13f07b21cb66a638d (patch) | |
| tree | 2224ed002980dbe6256531ac02d6bda27ecf0403 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | iio: light: as73211: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() (diff) | |
| download | linux-dev-7eff2dcec69c04f60144e2c13f07b21cb66a638d.tar.xz linux-dev-7eff2dcec69c04f60144e2c13f07b21cb66a638d.zip | |
iio: light: bh1750: 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: Tomasz Duszynski <tduszyns@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-23-jic23@kernel.org
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
