[PATCH 0/2 v2] Cleanup battery driver for jz4740

From: Marcos Paulo de Souza
Date: Sun Oct 21 2012 - 21:15:09 EST


Hi guys,

This is the second attempt for clean of the battery driver
of jz4740.

Changelog:
Path 1/2: Is the same, just added the Acked-by from
Lars Peter-Clausen
Path 2/2: use devm_request_and_ioremap, suggested by
Lars Petr-Clausen

The third patch about irqs sent before was droped. This will
be reworked in the next patches.

I hope you enjoy :)

Marcos Paulo de Souza (2):
drivers: power: jz4740-battery: Use devm_kzalloc instead of
kzalloc/kfree
drivers: power: jz4740_battery: Use devm_request_and_ioremap

drivers/power/jz4740-battery.c | 35 ++++++++---------------------------
1 file changed, 8 insertions(+), 27 deletions(-)

--
1.7.9.5

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