diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-21 23:27:03 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-18 20:48:18 +0300 |
commit | f3231f912bf478ced5628f808f8b6e0a1e1bd917 (patch) | |
tree | 2b70be63b34c7f79b0164671f17a85f8a34858b1 /fs/ntfs3 | |
parent | dc064f21ea80af2c372e2150f416de07f6461ac2 (diff) | |
download | linux-f3231f912bf478ced5628f808f8b6e0a1e1bd917.tar.xz |
iio: light: al3320a: 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: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-21-jic23@kernel.org
Diffstat (limited to 'fs/ntfs3')
0 files changed, 0 insertions, 0 deletions