[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1232924273.2924.23.camel@nga>
Date: Sun, 25 Jan 2009 23:57:53 +0100
From: Kay Sievers <kay.sievers@...y.org>
To: "David S. Miller" <davem@...emloft.net>
Cc: Greg Kroah-Hartman <gregkh@...e.de>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: serial: struct device - replace bus_id with dev_name(),
dev_set_name()
From: Kay Sievers <kay.sievers@...y.org>
Subject: serial: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: davem@...emloft.net
Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
Signed-off-by: Kay Sievers <kay.sievers@...y.org>
---
drivers/serial/sunzilog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/serial/sunzilog.c
+++ b/drivers/serial/sunzilog.c
@@ -1438,12 +1438,12 @@ static int __devinit zs_probe(struct of_
} else {
printk(KERN_INFO "%s: Keyboard at MMIO 0x%llx (irq = %d) "
"is a %s\n",
- op->dev.bus_id,
+ dev_name(&op->dev),
(unsigned long long) up[0].port.mapbase,
op->irqs[0], sunzilog_type(&up[0].port));
printk(KERN_INFO "%s: Mouse at MMIO 0x%llx (irq = %d) "
"is a %s\n",
- op->dev.bus_id,
+ dev_name(&op->dev),
(unsigned long long) up[1].port.mapbase,
op->irqs[0], sunzilog_type(&up[1].port));
kbm_inst++;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists