commit | f2f37f58b1b933b06d6d84e80a31a1b500fb0db2 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 14 16:05:52 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 16 10:57:36 2013 -0700 |
tree | 0df34f53690241b69454f5077888bce4287e5dfc | |
parent | b9b3259746d77f4fcb786e2a43c25bcc40773755 [diff] |
sysfs.h: add ATTRIBUTE_GROUPS() macro To make it easier for driver subsystems to work with attribute groups, create the ATTRIBUTE_GROUPS macro to remove some of the repetitive typing for the most common use for attribute groups. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>