Re: [PATCH] w1: ds2490: constify usb_device_id and fix space before '[' error

2017-09-05 Thread Evgeniy Polyakov
Hi Arvind 12.08.2017, 11:38, "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:

Re: [PATCH] w1: ds2490: constify usb_device_id and fix space before '[' error

2017-09-05 Thread Evgeniy Polyakov
Hi Arvind 12.08.2017, 11:38, "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

[PATCH] w1: ds2490: constify usb_device_id and fix space before '[' error

2017-08-12 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 '['. Signed-off-by: Arvind Yadav

[PATCH] w1: ds2490: constify usb_device_id and fix space before '[' error

2017-08-12 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 '['. Signed-off-by: Arvind Yadav ---