Re: [PATCH 0/2] constify hid usb_device_id and fix space before '[' error

2017-08-10 Thread Jiri Kosina
On Wed, 9 Aug 2017, Arvind Yadav wrote:

> 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.

Applied to for-4.14/upstream.

-- 
Jiri Kosina
SUSE Labs



[PATCH 0/2] constify hid usb_device_id and fix space before '[' error

2017-08-09 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.

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

Arvind Yadav (2):
  [PATCH 1/2] HID: usbkbd: constify usb_device_id and fix space before '[' 
error.
  [PATCH 2/2] HID: usbmouse: constify usb_device_id and fix space before '[' 
error

 drivers/hid/usbhid/usbkbd.c   | 2 +-
 drivers/hid/usbhid/usbmouse.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4