aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-10 15:33:13 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-10 15:33:52 -0400
commit9286b7ed682615c1508210f85d26e4c9a5cbf126 (patch)
treed7ef646fd411b7e0a755c343a9013f896db9cbd2 /drivers/s390
parent37f1c012f0f23b52df3a0d7850212b336fc9e595 (diff)
[S390] bus_id ->dev_name() conversions in qdio
Use dev_name() in the new qdio driver. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/cio/qdio_debug.c2
-rw-r--r--drivers/s390/cio/qdio_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/qdio_debug.c b/drivers/s390/cio/qdio_debug.c
index 337aa3087a78..b5390821434f 100644
--- a/drivers/s390/cio/qdio_debug.c
+++ b/drivers/s390/cio/qdio_debug.c
@@ -155,7 +155,7 @@ static int qstat_seq_open(struct inode *inode, struct file *filp)
155static void get_queue_name(struct qdio_q *q, struct ccw_device *cdev, char *name) 155static void get_queue_name(struct qdio_q *q, struct ccw_device *cdev, char *name)
156{ 156{
157 memset(name, 0, sizeof(name)); 157 memset(name, 0, sizeof(name));
158 sprintf(name, "%s", cdev->dev.bus_id); 158 sprintf(name, "%s", dev_name(&cdev->dev));
159 if (q->is_input_q) 159 if (q->is_input_q)
160 sprintf(name + strlen(name), "_input"); 160 sprintf(name + strlen(name), "_input");
161 else 161 else
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c
index 9307512132fe..719066ec0c01 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -962,7 +962,7 @@ static void qdio_handle_activate_check(struct ccw_device *cdev,
962 char dbf_text[15]; 962 char dbf_text[15];
963 963
964 QDIO_DBF_TEXT2(1, trace, "ick2"); 964 QDIO_DBF_TEXT2(1, trace, "ick2");
965 sprintf(dbf_text, "%s", cdev->dev.bus_id); 965 sprintf(dbf_text, "%s", dev_name(&cdev->dev));
966 QDIO_DBF_TEXT2(1, trace, dbf_text); 966 QDIO_DBF_TEXT2(1, trace, dbf_text);
967 QDIO_DBF_HEX2(0, trace, &intparm, sizeof(int)); 967 QDIO_DBF_HEX2(0, trace, &intparm, sizeof(int));
968 QDIO_DBF_HEX2(0, trace, &dstat, sizeof(int)); 968 QDIO_DBF_HEX2(0, trace, &dstat, sizeof(int));