Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning

As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.

Link: http://lkml.kernel.org/r/20191018031850.48498-20-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Corentin Chary <corentin.chary@gmail.com>
Cc: Darren Hart <dvhart@infradead.org>
Cc: Andy Shevchenko <andy@infradead.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>

authored by

Kefeng Wang and committed by
Petr Mladek
c6764121 ab556109

+5 -5
+5 -5
drivers/platform/x86/intel_oaktrail.c
··· 243 243 244 244 if (IS_ERR(bd)) { 245 245 oaktrail_bl_device = NULL; 246 - pr_warning("Unable to register backlight device\n"); 246 + pr_warn("Unable to register backlight device\n"); 247 247 return PTR_ERR(bd); 248 248 } 249 249 ··· 313 313 314 314 ret = platform_driver_register(&oaktrail_driver); 315 315 if (ret) { 316 - pr_warning("Unable to register platform driver\n"); 316 + pr_warn("Unable to register platform driver\n"); 317 317 goto err_driver_reg; 318 318 } 319 319 320 320 oaktrail_device = platform_device_alloc(DRIVER_NAME, -1); 321 321 if (!oaktrail_device) { 322 - pr_warning("Unable to allocate platform device\n"); 322 + pr_warn("Unable to allocate platform device\n"); 323 323 ret = -ENOMEM; 324 324 goto err_device_alloc; 325 325 } 326 326 327 327 ret = platform_device_add(oaktrail_device); 328 328 if (ret) { 329 - pr_warning("Unable to add platform device\n"); 329 + pr_warn("Unable to add platform device\n"); 330 330 goto err_device_add; 331 331 } 332 332 ··· 338 338 339 339 ret = oaktrail_rfkill_init(); 340 340 if (ret) { 341 - pr_warning("Setup rfkill failed\n"); 341 + pr_warn("Setup rfkill failed\n"); 342 342 goto err_rfkill; 343 343 } 344 344