]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[media] drivers/media: Convert remaining use of pr_warning to pr_warn
authorJoe Perches <joe@perches.com>
Fri, 17 Feb 2017 07:11:35 +0000 (05:11 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 17 Apr 2017 13:39:59 +0000 (10:39 -0300)
To enable eventual removal of pr_warning

This makes pr_warn use consistent for drivers/media

Prior to this patch, there was 1 use of pr_warning and
310 uses of pr_warn in drivers/media

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sh_vou.c

index ef2a519bcd4cd4cf3fb138c868415d78be762ce1..992d61a8b9616b574f717e0d56ec0b6b5585ed50 100644 (file)
@@ -813,8 +813,8 @@ static u32 sh_vou_ntsc_mode(enum sh_vou_bus_fmt bus_fmt)
 {
        switch (bus_fmt) {
        default:
-               pr_warning("%s(): Invalid bus-format code %d, using default 8-bit\n",
-                          __func__, bus_fmt);
+               pr_warn("%s(): Invalid bus-format code %d, using default 8-bit\n",
+                       __func__, bus_fmt);
        case SH_VOU_BUS_8BIT:
                return 1;
        case SH_VOU_BUS_16BIT: