diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-03-25 14:55:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-26 14:44:17 +0100 |
commit | cc62ff3e6ae69f365842cd6840ed1bee90fa08d8 (patch) | |
tree | 99cc5cb095e322267cf702e6e7a33d41657cf225 /drivers/usb/gadget/configfs.h | |
parent | usb: gadget: pch_udc: switch over to usb_gadget_map/unmap_request() (diff) | |
download | linux-cc62ff3e6ae69f365842cd6840ed1bee90fa08d8.tar.xz linux-cc62ff3e6ae69f365842cd6840ed1bee90fa08d8.zip |
usb: gadget: pch_udc: Remove CONFIG_PM_SLEEP ifdefery
Use __maybe_unused for the suspend()/resume() hooks and get rid of
the CONFIG_PM_SLEEP ifdefery to improve the code.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210325135508.70350-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/configfs.h')
0 files changed, 0 insertions, 0 deletions