diff options
author | Cedric Roux <sed@free.fr> | 2018-09-17 23:43:50 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2018-09-19 20:11:17 +0300 |
commit | f30858439e7db9ce9847eaedf440635fc6349c6e (patch) | |
tree | f204c39d592e2485fe14dcda9001341897358610 | |
parent | 4bac3cc22559c0e2ce2679131711f2be2cf6cc2b (diff) | |
download | linux-f30858439e7db9ce9847eaedf440635fc6349c6e.tar.xz |
ARM: s3c24xx: Restore proper usage of pr_info/pr_cont
Fix wrong usage of pr_info introduced by the commit e728e4f20100 ("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>
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-mini2440.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-mini2440.c b/arch/arm/mach-s3c24xx/mach-mini2440.c index 9f830abe701c..50d67d760efd 100644 --- a/arch/arm/mach-s3c24xx/mach-mini2440.c +++ b/arch/arm/mach-s3c24xx/mach-mini2440.c @@ -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); } |