regulator: Factor out functions to work with regulator_internal
Internally we only have a struct regulator_internal, so factor
out regulator_enable_internal and regulator_disable_internal
functions which can be called from regulator internal code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7dd0345 commit e47bfe803be150e705ea66939351346119ce107e
@Sascha Hauer Sascha Hauer authored on 15 Jul 2015
Showing 1 changed file
View
drivers/regulator/core.c