Skip to content

Commit

Permalink
ARM: s3c24xx: Restore proper usage of pr_info/pr_cont
Browse files Browse the repository at this point in the history
Fix wrong usage of pr_info introduced by the commit e728e4f ("ARM:
s3c24xx: formatting cleanup in mach-mini2440.c").

Since the idea is to print on a single line, pr_cont has to be used.

Signed-off-by: Cedric Roux <sed@free.fr>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
  • Loading branch information
Cedric Roux authored and Krzysztof Kozlowski committed Sep 19, 2018
1 parent 4bac3cc commit f308584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c24xx/mach-mini2440.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,14 +684,14 @@ static void __init mini2440_init(void)
pr_info("MINI2440: LCD");
for (li = 0; li < ARRAY_SIZE(mini2440_lcd_cfg); li++)
if (li == features.lcd_index)
pr_info(" [%d:%dx%d]", li,
pr_cont(" [%d:%dx%d]", li,
mini2440_lcd_cfg[li].width,
mini2440_lcd_cfg[li].height);
else
pr_info(" %d:%dx%d", li,
pr_cont(" %d:%dx%d", li,
mini2440_lcd_cfg[li].width,
mini2440_lcd_cfg[li].height);
pr_info("\n");
pr_cont("\n");
s3c24xx_fb_set_platdata(&mini2440_fb_info);
}

Expand Down

0 comments on commit f308584

Please sign in to comment.