usb: gadget: pch_udc: Remove CONFIG_PM_SLEEP ifdefery
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 25 Mar 2021 13:55:06 +0000 (15:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 13:44:17 +0000 (14:44 +0100)
commitcc62ff3e6ae69f365842cd6840ed1bee90fa08d8
tree99cc5cb095e322267cf702e6e7a33d41657cf225
parentde620c3b5999e9584cb55841fc65d305fa6b9c7b
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>
drivers/usb/gadget/udc/pch_udc.c