diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-09-03 13:25:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-04 16:53:51 +0200 |
commit | 7aea2a7ddc2eb202e7963bd390d7b069f6e116dd (patch) | |
tree | c8160f1e3b44f18af2fdf7af7034899f6442c107 /drivers/usb/misc/usb3503.c | |
parent | f2ea828d18fecb89e6669eec747cb88fddedac81 (diff) |
usb/misc: usb4604: Use pm_ptr() macro
Use the newly introduced pm_ptr() macro, and mark the suspend/resume
functions __maybe_unused. These functions can then be moved outside the
CONFIG_PM_SUSPEND block, and the compiler can then process them and
detect build failures independently of the config. If unused, they will
simply be discarded by the compiler.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200903112554.34263-9-paul@crapouillou.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/usb3503.c')
0 files changed, 0 insertions, 0 deletions