mfd: ab8500-core: Use devm_* memory/IRQ and allocation/free routines
authorLee Jones <lee.jones@linaro.org>
Mon, 5 Nov 2012 15:10:35 +0000 (16:10 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 11 Nov 2012 22:35:04 +0000 (23:35 +0100)
It is better to use devm_* calls, as they allow for easier
and more automatic clean-up. Resources are device allocated,
so when a device is freed, so are all associated resources.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found