pwm: sysfs: Convert to use ATTRIBUTE_GROUPS macro
authorAxel Lin <axel.lin@ingics.com>
Wed, 4 Dec 2013 10:29:53 +0000 (18:29 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 4 Dec 2013 10:35:28 +0000 (11:35 +0100)
commit6ca142ad0d1bdf8dd116351b7b9a2bc5670d5271
tree7d123301e7dbdda3f281a4db268b35b4e6361e59
parentb52fa7bc5dc9697fb5983727d276dd565d85a8d0
pwm: sysfs: Convert to use ATTRIBUTE_GROUPS macro

Use new ATTRIBUTE_GROUPS macro to reduce the number of lines of code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/sysfs.c