On Mon, Jan 26, 2015 at 10:25:13AM +0800, Axel Lin wrote:
> Current code is using devm_regulator_register(), so we don't need to store
> *rdev
> in struct lp872x for clean up.
> Also clean up lp872x_probe() a bit to remove unnecessary goto and
> num_regulators
> variable.
Applied, thanks.
sign
Current code is using devm_regulator_register(), so we don't need to store *rdev
in struct lp872x for clean up.
Also clean up lp872x_probe() a bit to remove unnecessary goto and num_regulators
variable.
Signed-off-by: Axel Lin
---
drivers/regulator/lp872x.c | 24 +---
1 file
2 matches
Mail list logo