mfd: stmpe: Use devm_*() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 22 Nov 2012 05:10:29 +0000 (10:40 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 23 Nov 2012 11:03:17 +0000 (12:03 +0100)
This patch frees stmpe driver from tension of freeing resources.
devm_* derivatives of multiple routines are used while allocating resources,
which would be freed automatically by kernel.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found