From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
All platforms that used to define an sci_fck clock have now switched to
the fck name. Remove the fallback code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <redacted>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
Do NOT apply until "sh: Rename sci_ick and sci_fck clock to fck" has
been applied!
v3:
- Add Acked-by,
- Moved after BRG sh-sci patches to remove dependency of BRG patches
on SH patches,
v2:
- Add Acked-by.
---
drivers/tty/serial/sh-sci.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 4ff5d0cf812688ff..6571f4d944c26297 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -2481,11 +2481,6 @@ static int sci_init_clocks(struct sci_port *sci_port, struct device *dev)
if (!IS_ERR(clk))
goto found;
- /* SH has historically named the clock "sci_fck". */
- clk = devm_clk_get(dev, "sci_fck");
- if (!IS_ERR(clk))
- goto found;
-
/*
* Not all SH platforms declare a clock lookup entry
* for SCI devices, in which case we need to get the
--
1.9.1