Re: [Nbd] [PATCH 5/6] platform/x86: make device_attribute const

2017-08-30 Thread Andy Shevchenko
On Mon, Aug 21, 2017 at 2:43 PM, Bhumika Goyal wrote: > Make these const as they are only passed as an argument to the > function device_create_file and device_remove_file and the corresponding > arguments are of type const. > Done using Coccinelle > Split on per driver

Re: [Nbd] [PATCH 5/6] platform/x86: make device_attribute const

2017-08-21 Thread Thadeu Lima de Souza Cascardo
For classmate-laptop.c Acked-by: Thadeu Lima de Souza Cascardo -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[Nbd] [PATCH 5/6] platform/x86: make device_attribute const

2017-08-21 Thread Bhumika Goyal
Make these const as they are only passed as an argument to the function device_create_file and device_remove_file and the corresponding arguments are of type const. Done using Coccinelle Signed-off-by: Bhumika Goyal --- drivers/platform/x86/classmate-laptop.c | 6 +++---