regulator: userspace: use sysfs_create_group
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 10 Aug 2009 06:05:13 +0000 (09:05 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:41 +0000 (13:32 +0100)
commite9d62698e8e5228638093c48783eb9dda788f1c3
tree3c379f573de2797c147a3c734b8abfd1bfc7b7dc
parent86d9884b6a3646bc24e57430f1f694c5171c1bf6
regulator: userspace: use sysfs_create_group

and avoid introducing our own loops for creating
several sysfs entries.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/userspace-consumer.c