summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-08-14 12:43:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 12:34:15 -0700
commit9d84d551169ae24830f7f47a04f57736805dae92 (patch)
treef3901486a3e27a01c1211f99340fdad7ea76b68b /drivers/usb/chipidea
parent03779f05be6dfc48de99763f6c845a003e1e40f3 (diff)
downloadop-kernel-dev-9d84d551169ae24830f7f47a04f57736805dae92.zip
op-kernel-dev-9d84d551169ae24830f7f47a04f57736805dae92.tar.gz
usb: chipidea: imx: delete the dead code
Remove an unused macro leftover from the old initialization code. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r--drivers/usb/chipidea/ci_hdrc_imx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
index 06bc775..a9a3bcf 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.c
+++ b/drivers/usb/chipidea/ci_hdrc_imx.c
@@ -24,9 +24,6 @@
#include "ci.h"
#include "ci_hdrc_imx.h"
-#define pdev_to_phy(pdev) \
- ((struct usb_phy *)platform_get_drvdata(pdev))
-
struct ci_hdrc_imx_data {
struct usb_phy *phy;
struct platform_device *ci_pdev;
OpenPOWER on IntegriCloud