]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pxav3: Remove non needed #ifdef CONFIG_PM for dev_pm_ops
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Jul 2016 09:08:41 +0000 (11:08 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Jul 2016 09:16:57 +0000 (11:16 +0200)
commita72011e25d07c7fbe2e05e4cc89d302c78d1d544
tree50f8bc291f0d6ab05d8ed581aacca720bf4f9e8f
parenta12b15d5986e1b1a940c3d6e0e30ae227b49c377
mmc: sdhci-pxav3: 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-pxav3.c