]> git.karo-electronics.de Git - mv-sheeva.git/commit
regulator: Convert virtual and userspace regulator consumer drivers to use module_pla...
authorAxel Lin <axel.lin@gmail.com>
Mon, 28 Nov 2011 03:38:39 +0000 (11:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Nov 2011 11:49:13 +0000 (11:49 +0000)
commit005d610f2abc550172726b997f5cfe683769cc1c
tree50803d17eed521814c0e2d2bd892d29260ec946e
parenta5228d2e5ea02c90581d5957cb6c4c73c191298f
regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver()

This patch converts virtual and userspace regulator consumer drivers to use the
module_platform_driver() macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/userspace-consumer.c
drivers/regulator/virtual.c