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
---
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
2 matches
Mail list logo