[PATCH 0/4] driver/power/jz4740-battery: driver cleanup

From: Marcos Paulo de Souza
Date: Thu Oct 18 2012 - 19:41:20 EST

Hi guys,

This patchset is just a cleanup using devm_* functions. They were
tested in Dingoo A320 for two days, without any problems.

I hope you enjoy :)

Marcos Paulo de Souza (4):
Use devm_kzalloc instead of kzalloc/kfree
Use devm_* for reques_mem_region and ioremap
Use devm_request_irq to avoid some checks
power/jz4740.c: Simplify exit of function

drivers/power/jz4740-battery.c | 53 ++++++++++++----------------------------
1 file changed, 15 insertions(+), 38 deletions(-)


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/