Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 192d367f authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Geert Uytterhoeven
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0a036681
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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