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/scsi/zfcp_sysfs.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/scsi/zfcp_sysfs.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_sysfs.c b/drivers/s390/scsi/zfcp_sysfs.c index 2809d789b55c..ca9293ba1766 100644 --- a/drivers/s390/scsi/zfcp_sysfs.c +++ b/drivers/s390/scsi/zfcp_sysfs.c | |||
@@ -381,7 +381,7 @@ static ssize_t zfcp_sysfs_scsi_##_name##_show(struct device *dev, \ | |||
381 | static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL); | 381 | static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL); |
382 | 382 | ||
383 | ZFCP_DEFINE_SCSI_ATTR(hba_id, "%s\n", | 383 | ZFCP_DEFINE_SCSI_ATTR(hba_id, "%s\n", |
384 | unit->port->adapter->ccw_device->dev.bus_id); | 384 | dev_name(&unit->port->adapter->ccw_device->dev)); |
385 | ZFCP_DEFINE_SCSI_ATTR(wwpn, "0x%016llx\n", | 385 | ZFCP_DEFINE_SCSI_ATTR(wwpn, "0x%016llx\n", |
386 | (unsigned long long) unit->port->wwpn); | 386 | (unsigned long long) unit->port->wwpn); |
387 | ZFCP_DEFINE_SCSI_ATTR(fcp_lun, "0x%016llx\n", | 387 | ZFCP_DEFINE_SCSI_ATTR(fcp_lun, "0x%016llx\n", |