mfd: Convert Intel MSIC driver to use devm_* interfaces.
authorPasi Savanainen <ext-pasi.m.savanainen@nokia.com>
Thu, 12 Apr 2012 09:40:37 +0000 (12:40 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 1 May 2012 10:00:23 +0000 (12:00 +0200)
commit465c29d384f60c5fd9bcbc92efb9e249e585740a
treec3e2528fbbc90c86c469de9f3d63188596268072
parent2fe372fc2a037c8de0c721b45cd0e4e9c8d8c25e
mfd: Convert Intel MSIC driver to use devm_* interfaces.

The devm_* functions eliminate the need for manual resource releasing
and simplify error handling. Resources allocated by devm_* are freed
automatically on driver detach.

Signed-off-by: Pasi Savanainen <ext-pasi.m.savanainen@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/intel_msic.c