commit | 4533f80ef8da866564a29578a1a8b037c51c6fc6 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Mar 13 14:53:58 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Apr 01 11:59:33 2012 +0100 |
tree | f6e839384cc55eb44f2603256c01d56bca0a1a67 | |
parent | 6f43c3809ec35c04c03f428d8b71121c13d2434e [diff] |
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>