Skip to content

Commit e8a9235

Browse files
committed
NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
After commit b2b49cc (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>
1 parent 4f7ad52 commit e8a9235

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/nfc/trf7970a.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ static int trf7970a_resume(struct device *dev)
21542154
}
21552155
#endif
21562156

2157-
#ifdef CONFIG_PM_RUNTIME
2157+
#ifdef CONFIG_PM
21582158
static int trf7970a_pm_runtime_suspend(struct device *dev)
21592159
{
21602160
struct spi_device *spi = container_of(dev, struct spi_device, dev);

0 commit comments

Comments
 (0)