Re: [PATCH] input: constify device_type structures

2017-01-24 Thread Dmitry Torokhov
On Tue, Jan 24, 2017 at 12:31:07AM +0530, Bhumika Goyal wrote: > Declare device_type structures as const as they are only stored in the > type field of a device structure. This field is of type const, so add > const to declaration of device_type structures. > > File size before: >text

Re: [PATCH] input: constify device_type structures

2017-01-24 Thread Dmitry Torokhov
On Tue, Jan 24, 2017 at 12:31:07AM +0530, Bhumika Goyal wrote: > Declare device_type structures as const as they are only stored in the > type field of a device structure. This field is of type const, so add > const to declaration of device_type structures. > > File size before: >text

[PATCH] input: constify device_type structures

2017-01-23 Thread Bhumika Goyal
Declare device_type structures as const as they are only stored in the type field of a device structure. This field is of type const, so add const to declaration of device_type structures. File size before: textdata bss dec hex filename 171841344 80 1860848b0

[PATCH] input: constify device_type structures

2017-01-23 Thread Bhumika Goyal
Declare device_type structures as const as they are only stored in the type field of a device structure. This field is of type const, so add const to declaration of device_type structures. File size before: textdata bss dec hex filename 171841344 80 1860848b0