diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-14 11:42:11 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 10:58:17 -0600 |
commit | 574f24f797718937b48befb97d13850d5bebb72c (patch) | |
tree | 17ac55080dbbd6a27ac646e0ba24c915b143240f /drivers/usb/gadget/u_ether.c | |
parent | 7de7174aa36f548a53c26d6841f3f7aeb449513b (diff) |
usb: gadget: update some out of date comments
These functions used to return negative errror codes but now they return
ERR_PTRs.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/u_ether.c')
-rw-r--r-- | drivers/usb/gadget/u_ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index 2aae0d61bb19..b7d4f82872b7 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -753,7 +753,7 @@ static struct device_type gadget_type = { * gadget driver using this framework. The link layer addresses are * set up using module parameters. * - * Returns negative errno, or zero on success + * Returns an eth_dev pointer on success, or an ERR_PTR on failure. */ struct eth_dev *gether_setup_name(struct usb_gadget *g, const char *dev_addr, const char *host_addr, |