regulator: allow to use it with non DT device
this will use the device name as regulator name

with the same Algo as clkdev for lookup

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 22f4e94 commit 515fefa8a582d8705770e5b8d592fbaae5e7a4b8
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 13 Jan 2015
Sascha Hauer committed on 4 Feb 2015
Showing 3 changed files
View
drivers/regulator/Kconfig
View
drivers/regulator/core.c
View
include/regulator.h