Re: [PATCH] regulator: s2mps11: Use local variable for number of regulators

From: Andi Shyti
Date: Thu Feb 18 2016 - 01:15:15 EST


Thanks,

> Remove the s2mps11_info.rdev_num because it is not used outside of
> probe.
>
> Suggested-by: Andi Shyti <andi.shyti@xxxxxxxxxxx>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxxx>

Andi