diff options
author | Axel Lin <[email protected]> | 2010-07-26 10:41:58 +0800 |
---|---|---|
committer | Liam Girdwood <[email protected]> | 2010-07-27 11:29:27 +0100 |
commit | e9a1c5129de1caf4526b8df5f200ff628b2ffab4 (patch) | |
tree | ac137716e50cb3216a71536f37c7248fd9dc95f8 /tools/perf/util/trace-event-scripting.c | |
parent | 979da89a9c230381ca55ea0764428a5d42a01e7f (diff) |
wm8350-regulator: fix wm8350_register_regulator error handling
In the case of platform_device_add() fail, we should call
platform_device_put() instead of platform_device_del()
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions