diff options
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 1261e1a9e8cd..76bbb1e74c29 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -698,7 +698,7 @@ static int __init setup_css(int nr) | |||
698 | return -ENOMEM; | 698 | return -ENOMEM; |
699 | css->pseudo_subchannel->dev.parent = &css->device; | 699 | css->pseudo_subchannel->dev.parent = &css->device; |
700 | css->pseudo_subchannel->dev.release = css_subchannel_release; | 700 | css->pseudo_subchannel->dev.release = css_subchannel_release; |
701 | sprintf(css->pseudo_subchannel->dev.bus_id, "defunct"); | 701 | dev_set_name(&css->pseudo_subchannel->dev, "defunct"); |
702 | ret = cio_create_sch_lock(css->pseudo_subchannel); | 702 | ret = cio_create_sch_lock(css->pseudo_subchannel); |
703 | if (ret) { | 703 | if (ret) { |
704 | kfree(css->pseudo_subchannel); | 704 | kfree(css->pseudo_subchannel); |
@@ -707,7 +707,7 @@ static int __init setup_css(int nr) | |||
707 | mutex_init(&css->mutex); | 707 | mutex_init(&css->mutex); |
708 | css->valid = 1; | 708 | css->valid = 1; |
709 | css->cssid = nr; | 709 | css->cssid = nr; |
710 | sprintf(css->device.bus_id, "css%x", nr); | 710 | dev_set_name(&css->device, "css%x", nr); |
711 | css->device.release = channel_subsystem_release; | 711 | css->device.release = channel_subsystem_release; |
712 | tod_high = (u32) (get_clock() >> 32); | 712 | tod_high = (u32) (get_clock() >> 32); |
713 | css_generate_pgid(css, tod_high); | 713 | css_generate_pgid(css, tod_high); |