Re: [PATCH] power: add const to bin_attribute structures

2017-08-09 Thread Sebastian Reichel
Hi, On Wed, Aug 02, 2017 at 03:59:38PM +0530, Bhumika Goyal wrote: > Add const to bin_attribute structures as they are only passed to the > functions sysfs_{remove/create}_bin_file or > device_{remove/create}_bin_file. The corresponding parameters > passed are of type const, so declare the structu

Re: [PATCH] power: add const to bin_attribute structures

2017-08-02 Thread Bhumika Goyal
On Wed, Aug 2, 2017 at 3:59 PM, Bhumika Goyal wrote: > Add const to bin_attribute structures as they are only passed to the > functions sysfs_{remove/create}_bin_file or > device_{remove/create}_bin_file. The corresponding parameters > passed are of type const, so declare the structures to be cons