usb/endpoint: Set release callback in the struct device_type instead of in the device...
authorLan Tianyu <tianyu.lan@intel.com>
Fri, 17 Aug 2012 08:44:55 +0000 (16:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Aug 2012 21:38:08 +0000 (14:38 -0700)
commit2d366846598d5f562866bba61a836d9325878066
treee09734b7a6e6aa191ef458740a05dfdd6b26b79a
parent26f944b2716717aa243f16cd2181f80441153f0d
usb/endpoint: Set release callback in the struct device_type instead of in the device itself directly

For following the way the rest of the usb core does, this patch is to change
the place of setting release callback.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/endpoint.c