diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-10 15:33:09 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-10-10 15:33:49 -0400 |
commit | 2a0217d5c7d22d6dd28f8ae5d20b06d24dc426b8 (patch) | |
tree | 0a7d60ac06dbc234d48da5a5b2ce8fa186a20182 /drivers/s390/block/dasd_eer.c | |
parent | e4a1afaeb1d9ebc09f46d8b229ac96116974b1b8 (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/block/dasd_eer.c')
-rw-r--r-- | drivers/s390/block/dasd_eer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd_eer.c b/drivers/s390/block/dasd_eer.c index bf512ac75b9e..892e2878d61b 100644 --- a/drivers/s390/block/dasd_eer.c +++ b/drivers/s390/block/dasd_eer.c | |||
@@ -309,7 +309,8 @@ static void dasd_eer_write_standard_trigger(struct dasd_device *device, | |||
309 | do_gettimeofday(&tv); | 309 | do_gettimeofday(&tv); |
310 | header.tv_sec = tv.tv_sec; | 310 | header.tv_sec = tv.tv_sec; |
311 | header.tv_usec = tv.tv_usec; | 311 | header.tv_usec = tv.tv_usec; |
312 | strncpy(header.busid, device->cdev->dev.bus_id, DASD_EER_BUSID_SIZE); | 312 | strncpy(header.busid, dev_name(&device->cdev->dev), |
313 | DASD_EER_BUSID_SIZE); | ||
313 | 314 | ||
314 | spin_lock_irqsave(&bufferlock, flags); | 315 | spin_lock_irqsave(&bufferlock, flags); |
315 | list_for_each_entry(eerb, &bufferlist, list) { | 316 | list_for_each_entry(eerb, &bufferlist, list) { |
@@ -349,7 +350,8 @@ static void dasd_eer_write_snss_trigger(struct dasd_device *device, | |||
349 | do_gettimeofday(&tv); | 350 | do_gettimeofday(&tv); |
350 | header.tv_sec = tv.tv_sec; | 351 | header.tv_sec = tv.tv_sec; |
351 | header.tv_usec = tv.tv_usec; | 352 | header.tv_usec = tv.tv_usec; |
352 | strncpy(header.busid, device->cdev->dev.bus_id, DASD_EER_BUSID_SIZE); | 353 | strncpy(header.busid, dev_name(&device->cdev->dev), |
354 | DASD_EER_BUSID_SIZE); | ||
353 | 355 | ||
354 | spin_lock_irqsave(&bufferlock, flags); | 356 | spin_lock_irqsave(&bufferlock, flags); |
355 | list_for_each_entry(eerb, &bufferlist, list) { | 357 | list_for_each_entry(eerb, &bufferlist, list) { |