diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-06-08 21:11:42 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-06-26 00:53:19 +0200 |
commit | 06c6e1b01d9261f03629cefd1f3553503291e6cf (patch) | |
tree | 74cae394ea3a1673c60edbfe561e77368d622097 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 38e0689b27f8b9a0085815b2446b12f685d028aa (diff) |
rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
If an error occurs after clk_get(), the corresponding resources should be
released.
Use devm_clk_get() to fix it.
Fixes: b5b2bdfc2893 ("rtc: st: Add new driver for ST's LPC RTC")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/866af6adbc7454a7b4505eb6c28fbdc86ccff39e.1686251455.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions