commit | ef256176c7ede53741ad8c0231db0cc46c0cfce5 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Aug 03 16:34:13 2010 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Aug 12 11:28:06 2010 +0200 |
tree | 0af2380fa30cb20b99b43b42df61ae52cfd779bc | |
parent | 288129f35aae3987b8afd308e63274a270532b09 [diff] |
mfd: Avoid calling platform_device_put() twice in ucb1400 probe error path In the case of goto err2, what we want is to call platform_device_del() instead of platform_device_unregister(). Otherwise, we call platform_device_put() twice. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>