Re: [PATCH 12/15] ptp: use permission-specific DEVICE_ATTR variants
From: David Miller
Date: Mon Oct 31 2016 - 15:33:09 EST
From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Sat, 29 Oct 2016 21:37:06 +0200
> 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/)
...
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
Also applied to net-next, thank you.