Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb419402 authored by Tony Lindgren's avatar Tony Lindgren Committed by Kishon Vijay Abraham I
Browse files

usb: phy: twl4030-usb: Remove unused irq_enabled



It's not being used any longer.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 25451e5c
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -164,7 +164,6 @@ struct twl4030_usb {
	enum omap_musb_vbus_id_status linkstat;
	enum omap_musb_vbus_id_status linkstat;
	bool			vbus_supplied;
	bool			vbus_supplied;
	u8			asleep;
	u8			asleep;
	bool			irq_enabled;


	struct delayed_work	id_workaround_work;
	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
	 * set_host() and/or set_peripheral() ... OTG_capable boards
	 * need both handles, otherwise just one suffices.
	 * need both handles, otherwise just one suffices.
	 */
	 */
	twl->irq_enabled = true;
	status = devm_request_threaded_irq(twl->dev, twl->irq, NULL,
	status = devm_request_threaded_irq(twl->dev, twl->irq, NULL,
			twl4030_usb_irq, IRQF_TRIGGER_FALLING |
			twl4030_usb_irq, IRQF_TRIGGER_FALLING |
			IRQF_TRIGGER_RISING | IRQF_ONESHOT, "twl4030_usb", twl);
			IRQF_TRIGGER_RISING | IRQF_ONESHOT, "twl4030_usb", twl);