Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c1fc0050 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Kishon Vijay Abraham I
Browse files

phy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle



Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: coccinelle/api/ptr_ret.cocci

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 556186a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment