[Linux-kernel-mentees] [PATCH v2] leds: Use DEVICE_ATTR_{RW, RO, WO} macros

Pavel Machek pavel at ucw.cz
Thu Dec 17 20:51:39 UTC 2020


Hi!

> Instead of open coding DEVICE_ATTR() defines, use the
> DEVICE_ATTR_RW(), DEVICE_ATTR_WO(), and DEVICE_ATTR_RO()
> macros.
> 
> This required a few functions to be renamed, but the functionality
> itself is unchanged.

Thanks, applied.
								Pavel
								
-- 
http://www.livejournal.com/~pavelmachek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20201217/3a4282ae/attachment.sig>


More information about the Linux-kernel-mentees mailing list