OSDN Git Service

serial: sh-sci: Drop the sci_fck clock fallback
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 14 Sep 2015 12:14:36 +0000 (15:14 +0300)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 17 Dec 2015 10:19:12 +0000 (11:19 +0100)
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 <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c

index 4ff5d0c..6571f4d 100644 (file)
@@ -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