Hi Felipe,

On Thursday 14 March 2013 09:34 PM, Felipe Balbi wrote:
in cases where PHY layer isn't enabled, we want
to still return an error code (actually an error
pointer) so that our users don't need to cope with
either error pointer of NULL.
This will simplify users as below:

-       return IS_ERR(phy) ? PTR_ERR(phy) : -ENODEV;
+       return PTR_ERR(phy);

Reported-by: Alan Stern <st...@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <ba...@ti.com>
---

Kishon, what do you think of this patch ?
This looks correct.
Acked-by: Kishon Vijay Abraham I <kis...@ti.com>

Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to