public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: phy: twl6030-usb: Remove unused irq_enabled
@ 2014-08-28 18:19 Tony Lindgren
  0 siblings, 0 replies; only message in thread
From: Tony Lindgren @ 2014-08-28 18:19 UTC (permalink / raw)
  To: balbi; +Cc: kishon, linux-kernel, linux-usb, linux-omap

It's not being used any longer.

Signed-off-by: Tony Lindgren <tony@atomide.com>

---

Felipe, here's the twl6030 only version for you to pick.

--- a/drivers/usb/phy/phy-twl6030-usb.c
+++ b/drivers/usb/phy/phy-twl6030-usb.c
@@ -104,7 +104,6 @@ struct twl6030_usb {
 	int			irq2;
 	enum omap_musb_vbus_id_status linkstat;
 	u8			asleep;
-	bool			irq_enabled;
 	bool			vbus_enable;
 	const char		*regulator;
 };
@@ -373,7 +372,6 @@ static int twl6030_usb_probe(struct platform_device *pdev)
 
 	INIT_WORK(&twl->set_vbus_work, otg_set_vbus_work);
 
-	twl->irq_enabled = true;
 	status = request_threaded_irq(twl->irq1, NULL, twl6030_usbotg_irq,
 			IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | IRQF_ONESHOT,
 			"twl6030_usb", twl);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-28 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 18:19 [PATCH] usb: phy: twl6030-usb: Remove unused irq_enabled Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox