]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: OHCI: use the ohci structure directly in debugfs files.
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Apr 2009 20:12:58 +0000 (13:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:43 +0000 (21:44 -0700)
commit109833417cd0bf27089fcca5b0d6a44c8d592452
tree33e10aadbcd3f3de64ffabf502d39c7d658b01f6
parent74675a58507e769beee7d949dbed788af3c4139d
USB: OHCI: use the ohci structure directly in debugfs files.

Right now we jump through some hoops to get to the struct ohci_hcd
struct in the ohci debugfs files.  Remove all of the fun casting around
and just use the pointer directly.

This is needed as the dev pointer in the hcd structure is going away,
and it makes the code simpler and smaller

Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-dbg.c