Re: [PATCH] regulator: max8998 - set max8998->num_regulators

From: Mark Brown
Date: Mon Aug 23 2010 - 06:01:37 EST


On Sun, Aug 22, 2010 at 03:26:49PM +0800, Axel Lin wrote:
> Set max8998->num_regulators = pdata->num_regulators,
> otherwise it's default value is 0.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

With a change like this it's good to note why things worked prior to the
change - my first thought was that it might be better to loose the
driver data copy entirely if we were fine with it being set to zero.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/