Re: [PATCH 03/15] wm8350_power: use permission-specific DEVICE_ATTR variants

2016-11-23 Thread Sebastian Reichel
Hi Julia, On Sat, Oct 29, 2016 at 09:36:57PM +0200, Julia Lawall wrote: > Use DEVICE_ATTR_RO for read only attributes. This simplifies the source > code, improves readbility, and reduces the chance of inconsistencies. > > The semantic patch that makes this change is as follows: > (http://coccine

Re: [PATCH 03/15] wm8350_power: use permission-specific DEVICE_ATTR variants

2016-10-30 Thread Charles Keepax
On Sat, Oct 29, 2016 at 09:36:57PM +0200, Julia Lawall wrote: > Use DEVICE_ATTR_RO for read only attributes. This simplifies the source > code, improves readbility, and reduces the chance of inconsistencies. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr