OSDN Git Service

phy: xgene: Use PTR_ERR_OR_ZERO
authorAxel Lin <axel.lin@ingics.com>
Thu, 5 Mar 2015 01:33:38 +0000 (09:33 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 10 Mar 2015 08:42:27 +0000 (14:12 +0530)
commit8fd0ea395f96b1419083f850190f175d5ddd98e9
tree997c0bf72a84e43d7cfd161e8738ec6ba1b0aaf7
parent82ffb676c820629b7f1b62d15f6bc546f29a7025
phy: xgene: Use PTR_ERR_OR_ZERO

Also remove unneeded goto and rc variable.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-xgene.c