mfd: Fix jz4740-adc resource reclaim in probe error path
authorAxel Lin <axel.lin@gmail.com>
Thu, 29 Jul 2010 08:28:25 +0000 (16:28 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:28:01 +0000 (11:28 +0200)
If mfd_add_devices() fail, we need to relese allocated resources.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found