[S390] bus_id -> dev_set_name() changes
[linux-3.10.git] / drivers / s390 / net / netiucv.c
index 9242b5a..0fea51e 100644 (file)
@@ -1724,7 +1724,7 @@ static int netiucv_register_device(struct net_device *ndev)
        IUCV_DBF_TEXT(trace, 3, __func__);
 
        if (dev) {
-               snprintf(dev->bus_id, BUS_ID_SIZE, "net%s", ndev->name);
+               dev_set_name(dev, "net%s", ndev->name);
                dev->bus = &iucv_bus;
                dev->parent = iucv_root;
                /*