summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-twl4030-usb.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-08-18 16:54:16 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2014-09-24 11:48:32 +0200
commitbb419402cc1075db508f9ee8cfff3618e111f744 (patch)
treec8592a68e01b6a55dbe32c6099f555c15a82c5b5 /drivers/phy/phy-twl4030-usb.c
parentphy: phy-spear1340-miphy: Use module_platform_driver to register driver. (diff)
downloadlinux-bb419402cc1075db508f9ee8cfff3618e111f744.tar.xz
linux-bb419402cc1075db508f9ee8cfff3618e111f744.zip
usb: phy: twl4030-usb: Remove unused irq_enabled
It's not being used any longer. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-twl4030-usb.c')
-rw-r--r--drivers/phy/phy-twl4030-usb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c
index 9cd33a4bcfb1..bc28eccb029e 100644
--- a/drivers/phy/phy-twl4030-usb.c
+++ b/drivers/phy/phy-twl4030-usb.c
@@ -164,7 +164,6 @@ struct twl4030_usb {
enum omap_musb_vbus_id_status linkstat;
bool vbus_supplied;
u8 asleep;
- bool irq_enabled;
struct delayed_work id_workaround_work;
};
@@ -755,7 +754,6 @@ static int twl4030_usb_probe(struct platform_device *pdev)
* set_host() and/or set_peripheral() ... OTG_capable boards
* need both handles, otherwise just one suffices.
*/
- twl->irq_enabled = true;
status = devm_request_threaded_irq(twl->dev, twl->irq, NULL,
twl4030_usb_irq, IRQF_TRIGGER_FALLING |
IRQF_TRIGGER_RISING | IRQF_ONESHOT, "twl4030_usb", twl);