diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-10-10 15:33:10 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-10-10 15:33:50 -0400 |
commit | 1bf5b2853925cf92bfc5f0eddb68a8ed18782845 (patch) | |
tree | acc51c9017ea2c8f155be805f49cfe68a23c6a9b /drivers/s390/char/vmlogrdr.c | |
parent | 2a0217d5c7d22d6dd28f8ae5d20b06d24dc426b8 (diff) |
[S390] bus_id -> dev_set_name() changes
Convert most s390 users setting bus_id to dev_set_name().
css and ccw busses are deferred since they need some special
treatment.
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/char/vmlogrdr.c')
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index 036e650e8b9c..42173cc34610 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -724,8 +724,7 @@ static int vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) | |||
724 | 724 | ||
725 | dev = kzalloc(sizeof(struct device), GFP_KERNEL); | 725 | dev = kzalloc(sizeof(struct device), GFP_KERNEL); |
726 | if (dev) { | 726 | if (dev) { |
727 | snprintf(dev->bus_id, BUS_ID_SIZE, "%s", | 727 | dev_set_name(dev, priv->internal_name); |
728 | priv->internal_name); | ||
729 | dev->bus = &iucv_bus; | 728 | dev->bus = &iucv_bus; |
730 | dev->parent = iucv_root; | 729 | dev->parent = iucv_root; |
731 | dev->driver = &vmlogrdr_driver; | 730 | dev->driver = &vmlogrdr_driver; |