aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-10 15:33:09 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-10 15:33:49 -0400
commit2a0217d5c7d22d6dd28f8ae5d20b06d24dc426b8 (patch)
tree0a7d60ac06dbc234d48da5a5b2ce8fa186a20182 /drivers/s390/cio/device.c
parente4a1afaeb1d9ebc09f46d8b229ac96116974b1b8 (diff)
[S390] bus_id -> dev_name conversions
bus_id -> dev_name() conversions in s390 code. [cornelia.huck@de.ibm.com: minor adaptions] Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r--drivers/s390/cio/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index 8575d263b13e..95b92dfec5a8 100644
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -1101,7 +1101,7 @@ static void io_subchannel_irq(struct subchannel *sch)
1101 cdev = sch_get_cdev(sch); 1101 cdev = sch_get_cdev(sch);
1102 1102
1103 CIO_TRACE_EVENT(3, "IRQ"); 1103 CIO_TRACE_EVENT(3, "IRQ");
1104 CIO_TRACE_EVENT(3, sch->dev.bus_id); 1104 CIO_TRACE_EVENT(3, dev_name(&sch->dev));
1105 if (cdev) 1105 if (cdev)
1106 dev_fsm_event(cdev, DEV_EVENT_INTERRUPT); 1106 dev_fsm_event(cdev, DEV_EVENT_INTERRUPT);
1107} 1107}
@@ -1707,7 +1707,7 @@ __ccwdev_check_busid(struct device *dev, void *id)
1707 1707
1708 bus_id = id; 1708 bus_id = id;
1709 1709
1710 return (strncmp(bus_id, dev->bus_id, BUS_ID_SIZE) == 0); 1710 return (strncmp(bus_id, dev_name(dev), BUS_ID_SIZE) == 0);
1711} 1711}
1712 1712
1713 1713