diff options
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; |