commit | ef9d884dadd4c9f2c8432a6b82309ae4a133a35d | [log] [tgz] |
---|---|---|
author | tom.leiming@gmail.com <tom.leiming@gmail.com> | Mon Jun 11 15:19:39 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 12 18:50:23 2012 -0700 |
tree | 6edccc421e257aa1f70c3fec32fdc940758755ee | |
parent | d0daebc3d622f95db181601cb0c4a0781f74f758 [diff] |
usbnet: remove usb_get/put_dev in .probe and .disconnect usb_device is parent device of usb_interface in the view of driver model, so its reference count is always held during .probe/.disconnect of usb_interface instance. This patch just removes the unnecessay usb_get/put_dev. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>