RE: [PATCH 1/1] power/ab8500_charger: Use devm_regulator_get API

From: Arun MURTHY
Date: Mon Dec 10 2012 - 04:25:13 EST


> devm_regulator_get() is device managed and makes error handling and code
> cleanup simpler.
>
> Cc: Arun R Murthy <arun.murthy@xxxxxxxxxxxxxx>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> ---
> Compile tested using linux-next.
> ---
> drivers/power/ab8500_charger.c | 11 +++--------
> 1 files changed, 3 insertions(+), 8 deletions(-)
>

Acked-by: Arun Murthy <arun.murthy@xxxxxxxxxxxxxx>
--
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/