]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: chipidea: imx: do not use preprocessor conditionals for PM
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Sun, 2 Sep 2018 17:37:04 +0000 (19:37 +0200)
committerPeter Chen <peter.chen@nxp.com>
Thu, 20 Sep 2018 09:04:21 +0000 (17:04 +0800)
commit9f644a64884f97f0d92f0689afc7fcf177b6ee92
tree6e9aa0fc5ff356695b9e532afc0f6cbbc6e2bceb
parent1652a83fa494b12e20fc02a2cc3ddbcd75d53170
usb: chipidea: imx: do not use preprocessor conditionals for PM

Use preprocessor conditionals for CONFIG_PM and CONFIG_PM_SLEEP is
not necessary since SET_SYSTEM_SLEEP_PM_OPS and SET_RUNTIME_PM_OPS does
that internally.

It is also the preferred way according to our coding style guidelines.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/ci_hdrc_imx.c