Message ID | 20170517183810.27313-1-uwe@kleine-koenig.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 17/05/17 21:38, Uwe Kleine-König wrote: > In the device tree each property must be terminated with a semicolon, so > include them in the output for easier cut-n-paste. > > Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> > --- > drivers/memory/omap-gpmc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Roger Quadros <rogerq@ti.com> > > diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c > index bf0fe0137dfe..44b79db20021 100644 > --- a/drivers/memory/omap-gpmc.c > +++ b/drivers/memory/omap-gpmc.c > @@ -460,12 +460,12 @@ static int get_gpmc_timing_reg( > if (l) > time_ns_min = gpmc_clk_ticks_to_ns(l - 1, cs, cd) + 1; > time_ns = gpmc_clk_ticks_to_ns(l, cs, cd); > - pr_info("gpmc,%s = <%u> /* %u ns - %u ns; %i ticks%s*/\n", > + pr_info("gpmc,%s = <%u>; /* %u ns - %u ns; %i ticks%s*/\n", > name, time_ns, time_ns_min, time_ns, l, > invalid ? "; invalid " : " "); > } else { > /* raw format */ > - pr_info("gpmc,%s = <%u>%s\n", name, l, > + pr_info("gpmc,%s = <%u>;%s\n", name, l, > invalid ? " /* invalid */" : ""); > } > >
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index bf0fe0137dfe..44b79db20021 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -460,12 +460,12 @@ static int get_gpmc_timing_reg( if (l) time_ns_min = gpmc_clk_ticks_to_ns(l - 1, cs, cd) + 1; time_ns = gpmc_clk_ticks_to_ns(l, cs, cd); - pr_info("gpmc,%s = <%u> /* %u ns - %u ns; %i ticks%s*/\n", + pr_info("gpmc,%s = <%u>; /* %u ns - %u ns; %i ticks%s*/\n", name, time_ns, time_ns_min, time_ns, l, invalid ? "; invalid " : " "); } else { /* raw format */ - pr_info("gpmc,%s = <%u>%s\n", name, l, + pr_info("gpmc,%s = <%u>;%s\n", name, l, invalid ? " /* invalid */" : ""); }
In the device tree each property must be terminated with a semicolon, so include them in the output for easier cut-n-paste. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> --- drivers/memory/omap-gpmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)