]> git.baikalelectronics.ru Git - kernel.git/commit
HID: make device_attribute const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 11:43:09 +0000 (17:13 +0530)
committerJiri Kosina <jkosina@suse.cz>
Wed, 6 Sep 2017 08:57:18 +0000 (10:57 +0200)
commitad8378ede6f933cd6fe0c4c12ec65a3db469b2ca
treec83ff2b5b0e2e4cd2874a1fa134c29fababf67f8
parentb42a362e6d10c342004b183defcb9940331b6737
HID: make device_attribute const

Make this const as it is only passed as an argument to the function
device_create_file and device_remove_file and the corresponding arguments are
of type const.  Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c