summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-google-hammer.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2018-10-09 10:43:39 +0200
committerJiri Kosina <jkosina@suse.cz>2018-10-09 10:43:39 +0200
commit8f35260e0b6cc09d77bcbbc21554342aa79ceb2f (patch)
tree2261025456c9a590ac385db33ec5c4d5300e7d3e /drivers/hid/hid-google-hammer.c
parentHID: google: add support tablet mode switch for Whiskers (diff)
downloadlinux-8f35260e0b6cc09d77bcbbc21554342aa79ceb2f.tar.xz
linux-8f35260e0b6cc09d77bcbbc21554342aa79ceb2f.zip
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: eb1aac4c8744f75460c34d71b0c73bebf3e8ee5c ("HID: google: add support tablet mode switch for Whiskers") Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-google-hammer.c')
-rw-r--r--drivers/hid/hid-google-hammer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hammer.c
index de3e7d055ca4..ee5e0bdcf078 100644
--- a/drivers/hid/hid-google-hammer.c
+++ b/drivers/hid/hid-google-hammer.c
@@ -161,7 +161,7 @@ static __maybe_unused int cbas_ec_resume(struct device *dev)
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)
{