Re: [PATCH 1/2] regulator: core: Optimize _regulator_do_set_voltageif voltage does not change

From: Mark Brown
Date: Fri Feb 08 2013 - 06:26:33 EST


On Wed, Feb 06, 2013 at 11:09:48AM +0800, Axel Lin wrote:
> Optimize _regulator_do_set_voltage() for the case selector is equal to
> old_selector. Since the voltage does not change, we don't need to call
> set_voltage_sel() and set_voltage_time_sel() in this case.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature