[PATCH 2/2] phy: spear1340-miphy: Return proper error for spear1340_miphy_xlate

2015-03-25 Thread Axel Lin
The of_xlate callback should return ERR_PTR on error. Signed-off-by: Axel Lin --- drivers/phy/phy-spear1340-miphy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-spear1340-miphy.c b/drivers/phy/phy-spear1340-miphy.c index e42bc20..210979b 100644 ---

[PATCH 2/2] phy: spear1340-miphy: Return proper error for spear1340_miphy_xlate

2015-03-25 Thread Axel Lin
The of_xlate callback should return ERR_PTR on error. Signed-off-by: Axel Lin axel@ingics.com --- drivers/phy/phy-spear1340-miphy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-spear1340-miphy.c b/drivers/phy/phy-spear1340-miphy.c index