From: Laurent Pinchart Date: Mon, 14 Sep 2015 12:14:36 +0000 (+0300) Subject: serial: sh-sci: Drop the sci_fck clock fallback X-Git-Tag: v4.5-rc1~123^2~2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=192d367f218d0cd94aa9b5059992e4aa19ec5b36;p=karo-tx-linux.git serial: sh-sci: Drop the sci_fck clock fallback 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 Acked-by: Simon Horman Signed-off-by: Geert Uytterhoeven Acked-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 4ff5d0cf8126..6571f4d944c2 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