aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_qdio.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2008-12-19 10:57:00 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 12:38:28 -0500
commitb225cf9b8040849e16add4da8e84a72a3548ada8 (patch)
tree3c8228ce090cf6e28610c5841a92213e757fce9c /drivers/s390/scsi/zfcp_qdio.c
parentb98478d71b0fea6d35f96069612d92b76013589f (diff)
[SCSI] zfcp: Remove busid macro
With the change to the dev_ message macros, the macro to get the busid is only used in a few places. Remove it and directly get the dev_name from the device. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_qdio.c')
-rw-r--r--drivers/s390/scsi/zfcp_qdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_qdio.c b/drivers/s390/scsi/zfcp_qdio.c
index d3b55fb66f13..33e0a206a0a4 100644
--- a/drivers/s390/scsi/zfcp_qdio.c
+++ b/drivers/s390/scsi/zfcp_qdio.c
@@ -112,7 +112,7 @@ static void zfcp_qdio_reqid_check(struct zfcp_adapter *adapter,
112 * corruption and must stop the machine immediatly. 112 * corruption and must stop the machine immediatly.
113 */ 113 */
114 panic("error: unknown request id (%lx) on adapter %s.\n", 114 panic("error: unknown request id (%lx) on adapter %s.\n",
115 req_id, zfcp_get_busid_by_adapter(adapter)); 115 req_id, dev_name(&adapter->ccw_device->dev));
116 116
117 zfcp_reqlist_remove(adapter, fsf_req); 117 zfcp_reqlist_remove(adapter, fsf_req);
118 spin_unlock_irqrestore(&adapter->req_list_lock, flags); 118 spin_unlock_irqrestore(&adapter->req_list_lock, flags);
@@ -392,7 +392,7 @@ int zfcp_qdio_allocate(struct zfcp_adapter *adapter)
392 392
393 init_data->cdev = adapter->ccw_device; 393 init_data->cdev = adapter->ccw_device;
394 init_data->q_format = QDIO_ZFCP_QFMT; 394 init_data->q_format = QDIO_ZFCP_QFMT;
395 memcpy(init_data->adapter_name, zfcp_get_busid_by_adapter(adapter), 8); 395 memcpy(init_data->adapter_name, dev_name(&adapter->ccw_device->dev), 8);
396 ASCEBC(init_data->adapter_name, 8); 396 ASCEBC(init_data->adapter_name, 8);
397 init_data->qib_param_field_format = 0; 397 init_data->qib_param_field_format = 0;
398 init_data->qib_param_field = NULL; 398 init_data->qib_param_field = NULL;