Regulators: virtual - use sysfs attribute groups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Feb 2010 07:37:44 +0000 (23:37 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 3 Mar 2010 14:49:26 +0000 (14:49 +0000)
commit4cf95663c829ddd47c76ba5b749e88864beef0a7
tree4635d9c8e23aa616b2d858a05f44984b506b7f35
parent2ebcf63245b4496808712ed884f6a330d73bc807
Regulators: virtual - use sysfs attribute groups

Instead of open-coding sysfs attribute group use canned solution.
Also add __devinit/__devexit markups for probe and remove methods
and use 'bool' where it makes sense.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/virtual.c