Commit c844d6c8 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Greg Kroah-Hartman

usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs

Use dev_name() for ci_hdrc name to distinguish USBs
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7b00e31
...@@ -96,7 +96,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) ...@@ -96,7 +96,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
{ {
struct ci_hdrc_imx_data *data; struct ci_hdrc_imx_data *data;
struct ci_hdrc_platform_data pdata = { struct ci_hdrc_platform_data pdata = {
.name = "ci_hdrc_imx", .name = dev_name(&pdev->dev),
.capoffset = DEF_CAPOFFSET, .capoffset = DEF_CAPOFFSET,
.flags = CI_HDRC_REQUIRE_TRANSCEIVER | .flags = CI_HDRC_REQUIRE_TRANSCEIVER |
CI_HDRC_DISABLE_STREAMING, CI_HDRC_DISABLE_STREAMING,
......
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