Re: [PATCH] regulator: s2mps11: Use local variable for number of regulators
Thanks, > Remove the s2mps11_info.rdev_num because it is not used outside of > probe. > > Suggested-by: Andi Shyti > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andi Shyti Andi
[PATCH] regulator: s2mps11: Use local variable for number of regulators
Remove the s2mps11_info.rdev_num because it is not used outside of probe. Suggested-by: Andi Shyti Signed-off-by: Krzysztof Kozlowski --- Rebased on my previous patch: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON --- drivers/regulator/s2mps11.c | 34