summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-msm-v2.c
diff options
context:
space:
mode:
authorGirish Mahadevan <girishm@codeaurora.org>2016-02-19 09:58:45 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:10:33 -0700
commitbb53e8271635097ac4272a7a1303133bdcd58229 (patch)
tree1867fd880379d91daf917bf87eca3c389e7b8374 /drivers/i2c/busses/i2c-msm-v2.c
parenta4d4cbd0491eb16817fa73a18cbe5a929a139fd5 (diff)
i2c-msm-v2: Remove use of PM_RUNTIME config flag
Remove the use of the PM_RUNTIME config flag in code. This feature flag has been obsoleted on newer kernel versions, instead use the generic PM feature flag to conditionally compile RPM callbacks. Change-Id: Id78a31a3cb59694d07e24ba6f762d608354d758a Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-msm-v2.c')
-rw-r--r--drivers/i2c/busses/i2c-msm-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-msm-v2.c b/drivers/i2c/busses/i2c-msm-v2.c
index 4bdd5df28c79..c075775f679a 100644
--- a/drivers/i2c/busses/i2c-msm-v2.c
+++ b/drivers/i2c/busses/i2c-msm-v2.c
@@ -2744,7 +2744,7 @@ static int i2c_msm_pm_sys_resume_noirq(struct device *dev)
}
#endif
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
static void i2c_msm_pm_rt_init(struct device *dev)
{
pm_runtime_set_suspended(dev);