Commit b3f16ee0 authored by Tony Lindgren's avatar Tony Lindgren

Use dev_set_name for omap_udc

Use dev_set_name for omap_udc like mainline kernel is already doing.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 01fd4e6a
......@@ -2696,7 +2696,7 @@ omap_udc_setup(struct platform_device *odev, struct otg_transceiver *xceiv)
udc->gadget.name = driver_name;
device_initialize(&udc->gadget.dev);
strcpy (udc->gadget.dev.bus_id, "gadget");
dev_set_name(&udc->gadget.dev, "gadget");
udc->gadget.dev.release = omap_udc_release;
udc->gadget.dev.parent = &odev->dev;
if (use_dma)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment