diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-11 01:47:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-12 15:32:21 -0400 |
commit | c844d6c884f372dcde158c84b61c373ebc529519 (patch) | |
tree | 4db9f3b7a1552a787ff953cdd9830d7c40a1f648 /drivers/usb/chipidea | |
parent | d7b00e310b3342a6c5b8f648283ea55665614b67 (diff) |
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: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index c00f77257d36..2e58f8dfd311 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c | |||
@@ -96,7 +96,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) | |||
96 | { | 96 | { |
97 | struct ci_hdrc_imx_data *data; | 97 | struct ci_hdrc_imx_data *data; |
98 | struct ci_hdrc_platform_data pdata = { | 98 | struct ci_hdrc_platform_data pdata = { |
99 | .name = "ci_hdrc_imx", | 99 | .name = dev_name(&pdev->dev), |
100 | .capoffset = DEF_CAPOFFSET, | 100 | .capoffset = DEF_CAPOFFSET, |
101 | .flags = CI_HDRC_REQUIRE_TRANSCEIVER | | 101 | .flags = CI_HDRC_REQUIRE_TRANSCEIVER | |
102 | CI_HDRC_DISABLE_STREAMING, | 102 | CI_HDRC_DISABLE_STREAMING, |