aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLin Yujun <[email protected]>2022-09-15 14:52:53 +0800
committerAlexandre Belloni <[email protected]>2022-10-13 00:03:11 +0200
commit0759011157b0d666b02b03b986d3de005d84027e (patch)
treee6e62188ceee59c005b208ecff30ca73584d924a /tools/perf/util/trace-event-scripting.c
parent25bcfaad5ec4e82aede4270d4925967f8520d4cf (diff)
rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register()
Use platform_device_put() to free platform device before print error message when platform_device_add() fails to run. Fixes: 1a71fb84fda6 ("rtc: stmp3xxx: add wdt-accessor function") Signed-off-by: Lin Yujun <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions