[S390] bus_id -> dev_set_name() changes
[linux-3.10.git] / drivers / s390 / cio / ccwgroup.c
index e17b462..3ac2c20 100644 (file)
@@ -269,8 +269,7 @@ int ccwgroup_create_from_string(struct device *root, unsigned int creator_id,
                goto error;
        }
 
-       snprintf (gdev->dev.bus_id, BUS_ID_SIZE, "%s",
-                       dev_name(&gdev->cdev[0]->dev));
+       dev_set_name(&gdev->dev, "%s", dev_name(&gdev->cdev[0]->dev));
 
        rc = device_add(&gdev->dev);
        if (rc)