To enable eventual removal of pr_warning
This makes pr_warn use consistent for drivers/tty
Prior to this patch, there were 2 uses of pr_warning and
23 uses of pr_warn in drivers/tty
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
         */
        rc = driver_create_file(&(hvcs_vio_driver.driver), &driver_attr_rescan);
        if (rc)
-               pr_warning("HVCS: Failed to create rescan file (err %d)\n", rc);
+               pr_warn("HVCS: Failed to create rescan file (err %d)\n", rc);
 
        return 0;
 }
 
        flags &= ASYNC_DEPRECATED;
 
        if (flags && __ratelimit(&depr_flags))
-               pr_warning("%s: '%s' is using deprecated serial flags (with no effect): %.8x\n",
-                               __func__, get_task_comm(comm, current), flags);
+               pr_warn("%s: '%s' is using deprecated serial flags (with no effect): %.8x\n",
+                       __func__, get_task_comm(comm, current), flags);
 }
 
 /*