commit | c929d84735bff4349bde809a5a8eb1996bf371f6 | [log] [tgz] |
---|---|---|
author | kbuild test robot <fengguang.wu@intel.com> | Wed Oct 25 00:33:18 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 25 08:54:33 2017 +0200 |
tree | c6c09a9f7b2bcc25e07bdee7f27a2a94d5fa5c27 | |
parent | 2d5afd51fe6b469e09d8d63fff041cbf4a987278 [diff] |
usb: xhci-mtk: fix ptr_ret.cocci warnings drivers/usb/host/xhci-mtk.c:256: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 Fixes: b6bb72cf0df1 ("usb: xhci-mtk: add optional mcu and dma bus clocks") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>