tty: serial: 8250: Suitably replace printk
[deliverable/linux.git] / drivers / tty / serial / 8250 / 8250_port.c
index 01246b8f8ca33144df74c1eefca75fcdac70c780..dbf08076093c7392b103baedaffa07d50b97f3d0 100644 (file)
@@ -1316,8 +1316,7 @@ static void autoconfig(struct uart_8250_port *up)
 out_lock:
        spin_unlock_irqrestore(&port->lock, flags);
        if (up->capabilities != old_capabilities) {
-               printk(KERN_WARNING
-                      "ttyS%d: detected caps %08x should be %08x\n",
+               pr_warn("ttyS%d: detected caps %08x should be %08x\n",
                       serial_index(port), old_capabilities,
                       up->capabilities);
        }
This page took 0.023977 seconds and 5 git commands to generate.