]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-coh901331.c: use devm allocation
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 21 Jul 2012 00:55:02 +0000 (10:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:23 +0000 (13:53 +1000)
commitc26f55c0e02f16e8cd99a2c7d3ead5acecd0d8a4
treec5df19688d6a92326ccfc697ef97a77bb42fee22
parent7e2087a39fa491149a8c14174269e99a86716a08
drivers/rtc/rtc-coh901331.c: use devm allocation

Allocate memory, region, remap and irq for device state using devm_*
helpers to simplify memory accounting.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-coh901331.c