Re: [PATCH] Regulator: Reorder the min max assignment in thesequence of regulator_set_voltage function

From: Mark Brown
Date: Fri Feb 08 2013 - 06:28:54 EST


On Fri, Feb 01, 2013 at 10:34:58AM +0530, J Keerthy wrote:

> +++ b/drivers/regulator/core.c
> @@ -81,6 +81,8 @@ struct regulator {
> int uA_load;
> int min_uV;
> int max_uV;
> + int curr_min_uV;
> + int curr_max_uV;

This change makes sense but I don't see why we need to add these to
struct regulator - why not just store the values locally for unwinding?

Attachment: signature.asc
Description: Digital signature