diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-21 01:55:46 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 18:38:28 +0300 |
commit | 57f068bedca8b92157d09f971f2fb3adb76f8f96 (patch) | |
tree | 938177bd7a009df989465868baa3928ca0b7c2bc /drivers/usb/host/isp1760-hcd.c | |
parent | 10c73f09dc9be7c7373483f9965dd535c5788f09 (diff) | |
download | linux-57f068bedca8b92157d09f971f2fb3adb76f8f96.tar.xz |
usb: isp1760: Manage device driver data in common code
Don't duplicate *_set_drvdata calls in glue code.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index 74987276ac73..19fbd6965630 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c @@ -2252,6 +2252,8 @@ struct usb_hcd *isp1760_register(phys_addr_t res_start, resource_size_t res_len, goto err_unmap; device_wakeup_enable(hcd->self.controller); + dev_set_drvdata(dev, hcd); + return hcd; err_unmap: |