Hi guys! This is the third version of the simple(simple..?) cleanup in the battery driver of jz4740. Just a tiny cleanup.
These patches were tested in Dingoo A320, without any problems. Added Acked-bys of Lars. Thanks since now! Changelog: From v2: Remove the patch that touches the irq_request. We need to take a look at this later. Remove the mem member of the struct jz_battery. Now this data is useless. From v1: Use devm_request_and_ioremap instead of devm_request and devm_ioremap_nocache. Marcos Paulo de Souza (2): drivers/power/jz4740-battery.c: Use devm_kzalloc drivers/power/jz4740-battery.c: Use devm_request_and_ioremap drivers/power/jz4740-battery.c | 41 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) -- 1.7.9.5 -- 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/