> devm_regulator_get() is device managed and makes error handling and code > cleanup simpler. > > Cc: Arun R Murthy <arun.mur...@stericsson.com> > Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org> > --- > Compile tested using linux-next. > --- > drivers/power/ab8500_charger.c | 11 +++-------- > 1 files changed, 3 insertions(+), 8 deletions(-) >
Acked-by: Arun Murthy <arun.mur...@stericsson.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/