aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-03 19:05:44 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-03 19:05:44 -0500
commit721564a950fdbc07adf9c1e114b73feb97446ec2 (patch)
tree405fceb455057c14d1df2459a3091078ae205d7c /drivers/hid/i2c-hid
parent06453edba4bfe54a4d17ae5cbdda39cb59ed4c6a (diff)
i2c-hid / 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/hid/i2c-hid/i2c-hid.c. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Jiri Kosina <jkosina@suse.cz> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index 747d54421e73..f09e70cafaf1 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -1095,7 +1095,7 @@ static int i2c_hid_resume(struct device *dev)
1095} 1095}
1096#endif 1096#endif
1097 1097
1098#ifdef CONFIG_PM_RUNTIME 1098#ifdef CONFIG_PM
1099static int i2c_hid_runtime_suspend(struct device *dev) 1099static int i2c_hid_runtime_suspend(struct device *dev)
1100{ 1100{
1101 struct i2c_client *client = to_i2c_client(dev); 1101 struct i2c_client *client = to_i2c_client(dev);