We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf0ea2 commit a889ee1Copy full SHA for a889ee1
drivers/hid/i2c-hid/i2c-hid-core.c
@@ -1085,7 +1085,6 @@ void i2c_hid_core_shutdown(struct i2c_client *client)
1085
}
1086
EXPORT_SYMBOL_GPL(i2c_hid_core_shutdown);
1087
1088
-#ifdef CONFIG_PM_SLEEP
1089
static int i2c_hid_core_suspend(struct device *dev)
1090
{
1091
struct i2c_client *client = to_i2c_client(dev);
@@ -1138,10 +1137,9 @@ static int i2c_hid_core_resume(struct device *dev)
1138
1137
1139
return hid_driver_reset_resume(hid);
1140
1141
-#endif
1142
1143
const struct dev_pm_ops i2c_hid_core_pm = {
1144
- SET_SYSTEM_SLEEP_PM_OPS(i2c_hid_core_suspend, i2c_hid_core_resume)
+ SYSTEM_SLEEP_PM_OPS(i2c_hid_core_suspend, i2c_hid_core_resume)
1145
};
1146
EXPORT_SYMBOL_GPL(i2c_hid_core_pm);
1147
0 commit comments