diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-10-29 15:18:55 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 17:01:24 +0100 |
commit | a2655e4a8edb66d21b0967940172e83a51d30ef3 (patch) | |
tree | 329335675429de2e210be869ed882aac8e6679e7 /drivers/reset | |
parent | usb: gadget: function: Added usb_assign_descriptors failure check (diff) | |
download | linux-a2655e4a8edb66d21b0967940172e83a51d30ef3.tar.xz linux-a2655e4a8edb66d21b0967940172e83a51d30ef3.zip |
usb: gadget: fix ptr_ret.cocci warnings
drivers/usb/gadget/udc/r8a66597-udc.c:1849:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions