]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Input: acecad - constify usb_device_idi and fix space before '[' error
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 8 Aug 2017 02:44:49 +0000 (19:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 8 Aug 2017 03:10:20 +0000 (20:10 -0700)
commit803088fa27e2641a939d0f3f18d83af6c0bdac5e
treeaf444f45e941068de974a5bee2e57ab3fed6857d
parent3cafe41227afcf1632fa8ab41e7cf57a033eac4d
Input: acecad - constify usb_device_idi and fix space before '[' error

usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. So mark the non-const structs as const.

Fix checkpatch.pl error:
ERROR: space prohibited before open square bracket '['.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/acecad.c