mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
i2c: simplify boilerplate code for attribute groups
Declaring attribute groups can be done with macros these days, let's use them for consistency and readability reasons. Also, put the ATTR macros directly below the referenced functions while we are here. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
90ebd0eb06
commit
a5eb71b207
1 changed files with 6 additions and 24 deletions
Loading…
Add table
Add a link
Reference in a new issue