[PATCH 6/8] Input: synaptics_usb: constify usb_device_id.

2017-08-06 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/mouse/synaptics_usb.c | 2 +- 1 file

[PATCH 6/8] Input: synaptics_usb: constify usb_device_id.

2017-08-06 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/mouse/synaptics_usb.c | 2 +- 1 file changed, 1 insertion(+), 1