Skip to contentSkip to conversation

serial: struct device - replace bus_id with dev_name(), dev_set_name()

PATCH Kay Sievers 1 participant 1 message Jan 25, 2009

lore
Share & tools
lore
#0 lore raw

From: Kay Sievers <[email protected]>
Subject: serial: struct device - replace bus_id with dev_name(), dev_set_name()

---
 drivers/serial/sunzilog.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/serial/sunzilog.c +2 -2
@@ -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++;