]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
phy: miphy28lp: Use PTR_ERR_OR_ZERO
authorAxel Lin <axel.lin@ingics.com>
Thu, 5 Mar 2015 01:44:06 +0000 (09:44 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 10 Mar 2015 08:42:27 +0000 (14:12 +0530)
commit320c3fcec64a9e115a3d8a5d005d2fb21c15ef01
treed055f226e824e5bfccfabd945f9c6508a06bb140
parentf8f55393b2860a2a5c97ff3b18c6ee02cef021c4
phy: miphy28lp: Use PTR_ERR_OR_ZERO

PTR_ERR_OR_ZERO simplifies the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Gabriel Fernandez<gabriel.fernandez@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-miphy28lp.c