commit | a5eb71b207ecefac07bc36fd50b43d83c047b0ce | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Mon Jan 19 20:12:24 2015 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Jan 22 15:26:50 2015 +0100 |
tree | 0aa6ce34b51123fa0c2d0dfa76366c17365fca57 | |
parent | 90ebd0eb065168995ab400266934bf5ed498c5ae [diff] |
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>