diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-14 23:14:36 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-15 15:12:21 +0100 |
commit | e8a9235c7c9257835a941ce89ea760ee95d94a70 (patch) | |
tree | 4344f72cbc7195deb8dc4147301bcba38a6559b9 /drivers/nfc | |
parent | SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM (diff) | |
download | linux-e8a9235c7c9257835a941ce89ea760ee95d94a70.tar.xz linux-e8a9235c7c9257835a941ce89ea760ee95d94a70.zip |
NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
depending on CONFIG_PM_RUNTIME may now be changed to depend on
CONFIG_PM.
Replace CONFIG_PM_RUNTIME with CONFIG_PM in drivers/nfc/trf7970a.c.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r-- | drivers/nfc/trf7970a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index d2ccd2890647..aa6a333b2ead 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c @@ -2154,7 +2154,7 @@ static int trf7970a_resume(struct device *dev) } #endif -#ifdef CONFIG_PM_RUNTIME +#ifdef CONFIG_PM static int trf7970a_pm_runtime_suspend(struct device *dev) { struct spi_device *spi = container_of(dev, struct spi_device, dev); |