* serial: struct device - replace bus_id with dev_name(), dev_set_name()
@ 2009-01-25 22:57 Kay Sievers
0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2009-01-25 22:57 UTC (permalink / raw)
To: David S. Miller; +Cc: Greg Kroah-Hartman, linux-kernel
From: Kay Sievers <kay.sievers@vrfy.org>
Subject: serial: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: davem@davemloft.net
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.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++;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-25 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 22:57 serial: struct device - replace bus_id with dev_name(), dev_set_name() Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox