]> git.baikalelectronics.ru Git - kernel.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)
commit5f619970067d0c6feaf8bfb251df42d5481e2a3d
tree33e10aadbcd3f3de64ffabf502d39c7d658b01f6
parent64fd7632c65a409a799fcb1e7dfb7c78c0533286
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