]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-s3c: Remove non needed #ifdef CONFIG_PM for dev_pm_ops
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Jul 2016 09:23:37 +0000 (11:23 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Jul 2016 09:23:37 +0000 (11:23 +0200)
commitf4e50c167341794b9ea713f58cb0d59f585283b2
tree58716bdb443b4c343753f337600a6f95dc692169
parenta5a98cf064c8f3d65ca1ab9c07ff3645c051e08b
mmc: sdhci-s3c: Remove non needed #ifdef CONFIG_PM for dev_pm_ops

As the SET_SYSTEM_SLEEP_PM_OPS and the SET_RUNTIME_PM_OPS macro deals with
the CONFIG_PM options when assigning the callbacks, it becomes redundant
to control this when declaring the struct dev_pm_ops. Instead let's always
declare it as it simplifies the code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-s3c.c