HID: google: drop superfluous const before SIMPLE_DEV_PM_OPS()
authorJiri Kosina <jkosina@suse.cz>
Tue, 9 Oct 2018 08:43:39 +0000 (10:43 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 9 Oct 2018 08:43:39 +0000 (10:43 +0200)
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>
drivers/hid/hid-google-hammer.c

index de3e7d055ca4cfee7e84d620bedb2248e85bc9d9..ee5e0bdcf078f7a05682ba45381d0f421dfde882 100644 (file)
@@ -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)
 {