]> git.baikalelectronics.ru Git - 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)
commit4633744496600e58144c598cf8f8630c20ec8c3d
treed055f226e824e5bfccfabd945f9c6508a06bb140
parentf7f8e961940fd1ecee14658bb64d62f1eb8497b3
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