diff options
author | Vivek Gautam <vivek.gautam@codeaurora.org> | 2016-10-20 12:23:39 +0530 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2016-11-18 18:19:16 +0530 |
commit | 045ef3115382fab2c16f2692411296ebfba60256 (patch) | |
tree | 51b2b9e12f3012823d2da6eb7a872e23b0e8911b /drivers/phy/phy-berlin-sata.c | |
parent | 0e65ba283eb40b9b2f02ac9517aff0e1f6eb28ea (diff) |
phy: Fix ptr_ret.cocci warnings
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-berlin-sata.c')
0 files changed, 0 insertions, 0 deletions