Re: [PATCH v2] dell-rbtn: constify rfkill_ops structures

2017-06-09 Thread Andy Shevchenko
On Fri, Jun 9, 2017 at 8:57 AM, Bhumika Goyal wrote: > Add const to rfkill_ops structures that are only passed as an argument > to the functions rfkill_alloc or samsung_new_rfkill. These arguments are > of type const, so such structures can be annotated with const. > All

Re: [PATCH v2] dell-rbtn: constify rfkill_ops structures

2017-06-09 Thread Andy Shevchenko
On Fri, Jun 9, 2017 at 8:57 AM, Bhumika Goyal wrote: > Add const to rfkill_ops structures that are only passed as an argument > to the functions rfkill_alloc or samsung_new_rfkill. These arguments are > of type const, so such structures can be annotated with const. > All three pushed to testing,

[PATCH v2] dell-rbtn: constify rfkill_ops structures

2017-06-08 Thread Bhumika Goyal
Add const to rfkill_ops structures that are only passed as an argument to the functions rfkill_alloc or samsung_new_rfkill. These arguments are of type const, so such structures can be annotated with const. Signed-off-by: Bhumika Goyal --- Changes since v1: * Split the

[PATCH v2] dell-rbtn: constify rfkill_ops structures

2017-06-08 Thread Bhumika Goyal
Add const to rfkill_ops structures that are only passed as an argument to the functions rfkill_alloc or samsung_new_rfkill. These arguments are of type const, so such structures can be annotated with const. Signed-off-by: Bhumika Goyal --- Changes since v1: * Split the changes to one patch per