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

Acked-by: Arun Murthy <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to