i2c: s3c2410: Change CONFIG_PM_RUNTIME to CONFIG_PM
authorYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Apr 2016 07:54:25 +0000 (16:54 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Thu, 10 May 2018 04:40:56 +0000 (13:40 +0900)
This patch chagnes CONFIG_PM_RUNTIME to CONFIG_PM in exynos normal I2C driver.
This patch shoud be applies to sync with below commit.

commit 464ed18ebdb6236fcff59d2a35d4d2e28668435a
PM: Eliminate CONFIG_PM_RUNTIME
Having switched over all of the users of CONFIG_PM_RUNTIME to use
CONFIG_PM directly, turn the latter into a user-selectable option
and drop the former entirely from the tree.

Change-Id: I2ef02c977eeb783bb3b69d95d284e81379624023
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
drivers/i2c/busses/i2c-s3c2410.c

index f0a9b0d81567ed5fa1384cd6c973051fce019ed3..f472e9321631d54b865a798c055c85c30bd95e36 100644 (file)
@@ -1339,7 +1339,7 @@ static int s3c24xx_i2c_resume_noirq(struct device *dev)
 }
 #endif
 
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
 static int s3c24xx_i2c_runtime_resume(struct device *dev)
 {
        struct platform_device *pdev = to_platform_device(dev);
@@ -1358,7 +1358,7 @@ static const struct dev_pm_ops s3c24xx_i2c_dev_pm_ops = {
        .suspend_noirq = s3c24xx_i2c_suspend_noirq,
        .resume_noirq = s3c24xx_i2c_resume_noirq,
 #endif
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
        .runtime_resume = s3c24xx_i2c_runtime_resume,
 #endif
 };