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 <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>
This commit is contained in:
Laurent Pinchart 2015-09-14 15:14:36 +03:00 committed by Geert Uytterhoeven
parent 0a03668188
commit 192d367f21

View 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