diff options
| author | 2022-06-21 21:27:02 +0100 | |
|---|---|---|
| committer | 2022-07-18 18:48:18 +0100 | |
| commit | dc064f21ea80af2c372e2150f416de07f6461ac2 (patch) | |
| tree | c2570fddc55e78204ef162afa3124a50336f26b1 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | iio: health: afe4404: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() (diff) | |
| download | linux-dev-dc064f21ea80af2c372e2150f416de07f6461ac2.tar.xz linux-dev-dc064f21ea80af2c372e2150f416de07f6461ac2.zip | |
iio: light: al3010: 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: David Heidelberg <david@ixit.cz>
Reviewed-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-20-jic23@kernel.org
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
