public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] drivers:usb:host:xhci.h Removing xhci_hcd from argument
@ 2013-08-16 18:49 Kumar Gaurav
  2013-08-16 18:57 ` Greg KH
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Kumar Gaurav @ 2013-08-16 18:49 UTC (permalink / raw)
  To: kernel-janitors

Removed struct xhci_hcd from xhci_readl fucntion as it's no more in use.
---
 drivers/usb/host/xhci.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index c338741..7cf0e41 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1598,8 +1598,7 @@ static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci)
 
 /* TODO: copied from ehci.h - can be refactored? */
 /* xHCI spec says all registers are little endian */
-static inline unsigned int xhci_readl(const struct xhci_hcd *xhci,
-		__le32 __iomem *regs)
+static inline unsigned int xhci_readl(__le32 __iomem *regs)
 {
 	return readl(regs);
 }
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-17 18:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-16 18:49 [PATCH 1/6] drivers:usb:host:xhci.h Removing xhci_hcd from argument Kumar Gaurav
2013-08-16 18:57 ` Greg KH
2013-08-16 19:00 ` Greg KH
2013-08-16 19:14 ` Greg KH
2013-08-16 19:16 ` Kumar Gaurav
2013-08-17  6:49 ` Julia Lawall
2013-08-17 18:21 ` Kumar Gaurav

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