USB: use bus_to_hdc instead of container_of
authorYuanhan Liu <yliu.null@gmail.com>
Sat, 6 Oct 2012 07:23:17 +0000 (15:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 21:40:50 +0000 (14:40 -0700)
commit30b1e495b81321f572020a2f5266ece3ed1a6ecd
treed872d1aa3a13a893c3a2ca4dfe5c25159741ebe9
parent60d80adbac9b7492439b1d0665353bc2117b4d78
USB: use bus_to_hdc instead of container_of

We defined bus_to_hdc for that, use it.

Signed-off-by: Yuanhan Liu <yliu.null@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/usb.c