Re: [PATCH] regulator: max77686: Use regulator_map_voltage_linearfor simple linear mappings

From: Mark Brown
Date: Sun Jun 03 2012 - 15:10:56 EST


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.

Attachment: signature.asc
Description: Digital signature