regulator: Provide mode to status conversion function
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 4 Aug 2009 18:09:52 +0000 (20:09 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:05 +0000 (09:47 +0200)
commitbe721979dd6b335e4ab6f83abb5cc11c33662aa8
treef08095efe3c60c0388f111611e57a9d873fca6a9
parent0c73b992dd4c645f050344cb13142c0fd3496824
regulator: Provide mode to status conversion function

This is useful for implementing get_status() in terms of get_mode().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/regulator/core.c
include/linux/regulator/driver.h