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

The SIMPLE_DEV_PM_OPS macro deals with the CONFIG_PM options when
assigning the PM callbacks, thus it's not needed to control this when
using the macro. By removing the non needed #ifdef, the code becomes a
bit cleaner.

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