commit | 8c4203cb5814f53169dc4ff084a65dcf509b6f60 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Nov 05 16:10:35 2012 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun Nov 11 23:35:04 2012 +0100 |
tree | aea94f5c585274a4a5aa8813c39f7a770e35cd9c | |
parent | 84e6de813b2d1bdb127943d3c8edf1c1afaa90da [diff] |
mfd: ab8500-core: Use devm_* memory/IRQ and allocation/free routines 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>