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

From: Linus Walleij
Date: Mon Dec 10 2012 - 04:22:06 EST


On Fri, Dec 7, 2012 at 12:53 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:

> 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>

Looks good to me!

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
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/