commit | c61babb19d14848f779b757d262b28ee0c5a9727 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Aug 02 13:37:12 2013 -0700 |
committer | Pawan Kumar <pavaku@codeaurora.org> | Tue Sep 17 09:13:05 2013 +0530 |
tree | 0c8d12694d1c85e03a07d175816181fed7480d4f | |
parent | 3931cb7d9c4b2e3b96c546be94950da5fa199c45 [diff] |
hwmon: qpnp-adc-current: Fix error path Invalid jump to cleanup before the hwmon device is registered. Cleanup the error path to avoid panic if a failure occurs before hwmon device register occurs. Change-Id: I3477d207dc6402bed33d15723f2763ee85a1ca46 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org> Signed-off-by: Pawan Kumar <pavaku@codeaurora.org>