gadget: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
14ab309d33
Коммит
c682b17060
|
@ -1474,7 +1474,7 @@ static struct at91_udc controller = {
|
|||
.ep0 = &controller.ep[0].ep,
|
||||
.name = driver_name,
|
||||
.dev = {
|
||||
.bus_id = "gadget",
|
||||
.init_name = "gadget",
|
||||
.release = nop_release,
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1034,7 +1034,7 @@ static struct usba_udc the_udc = {
|
|||
.is_dualspeed = 1,
|
||||
.name = "atmel_usba_udc",
|
||||
.dev = {
|
||||
.bus_id = "gadget",
|
||||
.init_name = "gadget",
|
||||
.release = nop_release,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -2545,7 +2545,7 @@ static int __devinit qe_udc_probe(struct of_device *ofdev,
|
|||
|
||||
device_initialize(&udc_controller->gadget.dev);
|
||||
|
||||
strcpy(udc_controller->gadget.dev.bus_id, "gadget");
|
||||
dev_set_name(&udc_controller->gadget.dev, "gadget");
|
||||
|
||||
udc_controller->gadget.dev.release = qe_udc_release;
|
||||
udc_controller->gadget.dev.parent = &ofdev->dev;
|
||||
|
|
|
@ -1981,7 +1981,7 @@ static struct lh7a40x_udc memory = {
|
|||
.ep0 = &memory.ep[0].ep,
|
||||
.name = driver_name,
|
||||
.dev = {
|
||||
.bus_id = "gadget",
|
||||
.init_name = "gadget",
|
||||
.release = nop_release,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1833,7 +1833,7 @@ static struct pxa25x_udc memory = {
|
|||
.ep0 = &memory.ep[0].ep,
|
||||
.name = driver_name,
|
||||
.dev = {
|
||||
.bus_id = "gadget",
|
||||
.init_name = "gadget",
|
||||
.release = nop_release,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -2162,7 +2162,7 @@ static struct pxa_udc memory = {
|
|||
.ep0 = &memory.udc_usb_ep[0].usb_ep,
|
||||
.name = driver_name,
|
||||
.dev = {
|
||||
.bus_id = "gadget",
|
||||
.init_name = "gadget",
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -1727,7 +1727,7 @@ static struct s3c2410_udc memory = {
|
|||
.ep0 = &memory.ep[0].ep,
|
||||
.name = gadget_name,
|
||||
.dev = {
|
||||
.bus_id = "gadget",
|
||||
.init_name = "gadget",
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче