mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! serial: introduce clk_get_enabled_for_console()
@ 2026-04-13 12:49 Ahmad Fatoum
  2026-04-13 15:08 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-04-13 12:49 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

serial: ns16550: Remove now unused label

With the switch to clk_get_enabled_for_console, nothing does goto
clk_put, so remove the label.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/serial/serial_ns16550.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c
index b220982450dd..5f62334a0f8a 100644
--- a/drivers/serial/serial_ns16550.c
+++ b/drivers/serial/serial_ns16550.c
@@ -566,7 +566,6 @@ static int ns16550_probe(struct device *dev)
 
 clk_disable:
 	clk_disable(priv->clk);
-clk_put:
 	clk_put(priv->clk);
 release_region:
 	release_region(iores);
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-13 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-13 12:49 [PATCH] fixup! serial: introduce clk_get_enabled_for_console() Ahmad Fatoum
2026-04-13 15:08 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox