diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-10-10 15:33:11 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-10-10 15:33:50 -0400 |
commit | b9d3aed7e1e50183085fcd2af643bf42d6b4bd95 (patch) | |
tree | 0ae98b89d8c22d64e38694cce0ec713ef64b23de /drivers/s390/net/ctcm_main.c | |
parent | 1bf5b2853925cf92bfc5f0eddb68a8ed18782845 (diff) |
[S390] more bus_id -> dev_name conversions
Some further bus_id -> dev_name() conversions in s390 code.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: 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/net/ctcm_main.c')
-rw-r--r-- | drivers/s390/net/ctcm_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/ctcm_main.c b/drivers/s390/net/ctcm_main.c index d2374cf4c4b9..a4e29836a2aa 100644 --- a/drivers/s390/net/ctcm_main.c +++ b/drivers/s390/net/ctcm_main.c | |||
@@ -1518,8 +1518,8 @@ static int ctcm_new_device(struct ccwgroup_device *cgdev) | |||
1518 | 1518 | ||
1519 | type = get_channel_type(&cdev0->id); | 1519 | type = get_channel_type(&cdev0->id); |
1520 | 1520 | ||
1521 | snprintf(read_id, CTCM_ID_SIZE, "ch-%s", cdev0->dev.bus_id); | 1521 | snprintf(read_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev0->dev)); |
1522 | snprintf(write_id, CTCM_ID_SIZE, "ch-%s", cdev1->dev.bus_id); | 1522 | snprintf(write_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev1->dev)); |
1523 | 1523 | ||
1524 | ret = add_channel(cdev0, type, priv); | 1524 | ret = add_channel(cdev0, type, priv); |
1525 | if (ret) | 1525 | if (ret) |