Re: [PATCH] HID: intel-ish-hid: constify device_type structure

2017-02-14 Thread Jiri Kosina
On Sat, 11 Feb 2017, Bhumika Goyal wrote: > Declare device_type structure as const as it is only stored in the > type field of a device structure. This field is of type const, so add > const to the declaration of device_type structure. > > File size before: drivers/hid/intel-ish-hid/ishtp/bus.o >

Re: [PATCH] HID: intel-ish-hid: constify device_type structure

2017-02-11 Thread Srinivas Pandruvada
On Sat, 2017-02-11 at 12:40 +0530, Bhumika Goyal wrote: > Declare device_type structure as const as it is only stored in the > type field of a device structure. This field is of type const, so add > const to the declaration of device_type structure. > > File size before: drivers/hid/intel-ish-hid/

[PATCH] HID: intel-ish-hid: constify device_type structure

2017-02-10 Thread Bhumika Goyal
Declare device_type structure as const as it is only stored in the type field of a device structure. This field is of type const, so add const to the declaration of device_type structure. File size before: drivers/hid/intel-ish-hid/ishtp/bus.o textdata bss dec hex filename 42