Commit 65a212dd authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

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

Cc: davem@davemloft.net
Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
parent 1173960b
...@@ -1438,12 +1438,12 @@ static int __devinit zs_probe(struct of_device *op, const struct of_device_id *m ...@@ -1438,12 +1438,12 @@ static int __devinit zs_probe(struct of_device *op, const struct of_device_id *m
} else { } else {
printk(KERN_INFO "%s: Keyboard at MMIO 0x%llx (irq = %d) " printk(KERN_INFO "%s: Keyboard at MMIO 0x%llx (irq = %d) "
"is a %s\n", "is a %s\n",
op->dev.bus_id, dev_name(&op->dev),
(unsigned long long) up[0].port.mapbase, (unsigned long long) up[0].port.mapbase,
op->irqs[0], sunzilog_type(&up[0].port)); op->irqs[0], sunzilog_type(&up[0].port));
printk(KERN_INFO "%s: Mouse at MMIO 0x%llx (irq = %d) " printk(KERN_INFO "%s: Mouse at MMIO 0x%llx (irq = %d) "
"is a %s\n", "is a %s\n",
op->dev.bus_id, dev_name(&op->dev),
(unsigned long long) up[1].port.mapbase, (unsigned long long) up[1].port.mapbase,
op->irqs[0], sunzilog_type(&up[1].port)); op->irqs[0], sunzilog_type(&up[1].port));
kbm_inst++; kbm_inst++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment