]> git.baikalelectronics.ru Git - kernel.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)
commit5f31b7d6f4895c044206359e5bd3fae79fc6862b
treeaf444f45e941068de974a5bee2e57ab3fed6857d
parent7e634a4fc7a07563e35533c6a1302d8afdf5c972
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