rtc-isl1208: use sysfs_{create/remove}_group
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 May 2010 21:33:46 +0000 (14:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:08 +0000 (08:07 -0700)
commite17ab5cbed795d3823da830f5e8d3ffe25a38446
treef5e4cc8346556c50bfdd98258b7c9264d6ca5ba7
parent5cf8f57d44d16652336fabdd65e727a6e6f98cd5
rtc-isl1208: use sysfs_{create/remove}_group

Instead of individually creating and removing the sysfs device attribute
files, wrap them in an attribute_group and use
sysfs_{create/remove}_group.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-isl1208.c