]> 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)
commited3c2f14bcbdf2ee9799050d96d0c744e90ef0e4
treed055f226e824e5bfccfabd945f9c6508a06bb140
parente94d9129b0313d2122ca1d48eeab81ec3ab98e17
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