* [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE()
@ 2016-02-15 12:36 Geert Uytterhoeven
2016-02-15 13:23 ` Sergei Shtylyov
2016-02-16 17:13 ` Peter Hurley
0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2016-02-15 12:36 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby
Cc: Peter Hurley, Yoshinori Sato, linux-serial, linux-renesas-soc,
linux-sh, uclinux-h8-devel, Geert Uytterhoeven
As of commit 2eaa790989e03900 ("earlycon: Use common framework for
earlycon declarations") it is no longer needer to specify both
EARLYCON_DECLARE() and OF_EARLYCON_DECLARE().
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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 4678d8f2dd7d1da5..0130feb069aee02f 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -3071,15 +3071,10 @@ static int __init hscif_early_console_setup(struct earlycon_device *device,
return early_console_setup(device, PORT_HSCIF);
}
-EARLYCON_DECLARE(sci, sci_early_console_setup);
OF_EARLYCON_DECLARE(sci, "renesas,sci", sci_early_console_setup);
-EARLYCON_DECLARE(scif, scif_early_console_setup);
OF_EARLYCON_DECLARE(scif, "renesas,scif", scif_early_console_setup);
-EARLYCON_DECLARE(scifa, scifa_early_console_setup);
OF_EARLYCON_DECLARE(scifa, "renesas,scifa", scifa_early_console_setup);
-EARLYCON_DECLARE(scifb, scifb_early_console_setup);
OF_EARLYCON_DECLARE(scifb, "renesas,scifb", scifb_early_console_setup);
-EARLYCON_DECLARE(hscif, hscif_early_console_setup);
OF_EARLYCON_DECLARE(hscif, "renesas,hscif", hscif_early_console_setup);
#endif /* CONFIG_SERIAL_SH_SCI_EARLYCON */
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE()
2016-02-15 12:36 [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE() Geert Uytterhoeven
@ 2016-02-15 13:23 ` Sergei Shtylyov
2016-02-16 17:13 ` Peter Hurley
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2016-02-15 13:23 UTC (permalink / raw)
To: Geert Uytterhoeven, Greg Kroah-Hartman, Jiri Slaby
Cc: Peter Hurley, Yoshinori Sato, linux-serial, linux-renesas-soc,
linux-sh, uclinux-h8-devel
Hello.
On 2/15/2016 3:36 PM, Geert Uytterhoeven wrote:
> As of commit 2eaa790989e03900 ("earlycon: Use common framework for
12-digt ID is enough
> earlycon declarations") it is no longer needer to specify both
Needed?
> EARLYCON_DECLARE() and OF_EARLYCON_DECLARE().
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
[...]
MBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE()
2016-02-15 12:36 [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE() Geert Uytterhoeven
2016-02-15 13:23 ` Sergei Shtylyov
@ 2016-02-16 17:13 ` Peter Hurley
1 sibling, 0 replies; 3+ messages in thread
From: Peter Hurley @ 2016-02-16 17:13 UTC (permalink / raw)
To: Geert Uytterhoeven, Greg Kroah-Hartman, Jiri Slaby
Cc: Yoshinori Sato, linux-serial, linux-renesas-soc, linux-sh,
uclinux-h8-devel
On 02/15/2016 04:36 AM, Geert Uytterhoeven wrote:
> As of commit 2eaa790989e03900 ("earlycon: Use common framework for
> earlycon declarations") it is no longer needer to specify both
> EARLYCON_DECLARE() and OF_EARLYCON_DECLARE().
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-16 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 12:36 [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE() Geert Uytterhoeven
2016-02-15 13:23 ` Sergei Shtylyov
2016-02-16 17:13 ` Peter Hurley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).