Messages in this thread | | | Date | Sun, 3 Jun 2012 20:10:55 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] regulator: max77686: Use regulator_map_voltage_linear for simple linear mappings |
| |
On Sun, Jun 03, 2012 at 10:46:14PM +0800, Axel Lin wrote: > Both max77686_ops and max77686_buck_dvs_ops use simple linear voltage maps. > Thus use regulator_map_voltage_linear is more efficient than using the defult > regulator_map_voltage_iterate.
I've applied this and your other patch but really what should happen here is that the default should get smarter and use map_voltage_linear() if list_voltage_linear() is in use and nothing is set. [unhandled content-type:application/pgp-signature] | |