提交 8f35260e 编写于 作者: J Jiri Kosina

HID: google: drop superfluous const before SIMPLE_DEV_PM_OPS()

SIMPLE_DEV_PM_OPS() already implies const for the type; drop the
extra modifier.

Fixes: eb1aac4c ("HID: google: add support tablet mode switch for Whiskers")
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 eb1aac4c
...@@ -161,7 +161,7 @@ static __maybe_unused int cbas_ec_resume(struct device *dev) ...@@ -161,7 +161,7 @@ static __maybe_unused int cbas_ec_resume(struct device *dev)
return 0; return 0;
} }
static const SIMPLE_DEV_PM_OPS(cbas_ec_pm_ops, NULL, cbas_ec_resume); static SIMPLE_DEV_PM_OPS(cbas_ec_pm_ops, NULL, cbas_ec_resume);
static void cbas_ec_set_input(struct input_dev *input) static void cbas_ec_set_input(struct input_dev *input)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册