diff options
author | Jaehoon Chung | 2017-01-05 16:55:14 +0900 |
---|---|---|
committer | Minkyu Kang | 2017-01-18 13:21:28 +0900 |
commit | fd3b710ae8d37c3909aee47352c6f7f79b8d9b3f (patch) | |
tree | 01bc94edd9d318eb17ec4812eae970267a7bb241 /board | |
parent | cf2a693864392afe49d69cfe00557eab23acc055 (diff) |
board: samsung: goni: fix the pmic's name for getting
For Getting from uclass, use the "max8998-pmic" as name.
It also needs to change the dt-node's name as "max8998-pmic".
Otherwise, it doesn't find the pmic device.
Because it's only searching for 'max8998_pmic'.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/samsung/goni/goni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 80fd0d43d08..9c48d71a674 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -138,7 +138,7 @@ static int s5pc1xx_phy_control(int on) static int status; int reg, ret; - ret = pmic_get("max8998_pmic", &dev); + ret = pmic_get("max8998-pmic", &dev); if (ret) return ret; |