mfd: Use devm allocation for ab3100-core
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jun 2012 18:26:58 +0000 (20:26 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:11 +0000 (00:16 +0200)
commit7f0f07ce25b62be9234998134f19e1511a9ad6c7
tree054337ede5afe3ae1a43bbf454ad2e6572ee9f31
parent78a27cd3e891e8da343942aec10c926eaffabd63
mfd: Use devm allocation for ab3100-core

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

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab3100-core.c