summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65023-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-13 14:53:58 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 11:59:33 +0100
commit4533f80ef8da866564a29578a1a8b037c51c6fc6 (patch)
treef6e839384cc55eb44f2603256c01d56bca0a1a67 /drivers/regulator/tps65023-regulator.c
parent6f43c3809ec35c04c03f428d8b71121c13d2434e (diff)
downloadop-kernel-dev-4533f80ef8da866564a29578a1a8b037c51c6fc6.zip
op-kernel-dev-4533f80ef8da866564a29578a1a8b037c51c6fc6.tar.gz
regulator: Add MAX8997_VOLTAGE_REGULATOR and MAX8997_CURRENT_REGULATOR macros
MAX8997_VOLTAGE_REGULATOR macro has _name and _ops parameters so we can use it for all regulators with REGULATOR_VOLTAGE type. The MAX8997_VOLTAGE_REGULATOR now replaces regulator_desc_ldo and regulator_desc_buck macros. MAX8997_CURRENT_REGULATOR is for CHARGER and CHARGER_TOPOFF. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps65023-regulator.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud