summaryrefslogtreecommitdiffstats
path: root/board/samsung/goni/goni.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/goni/goni.c')
-rw-r--r--board/samsung/goni/goni.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c
index 1600568193..e8329bba6c 100644
--- a/board/samsung/goni/goni.c
+++ b/board/samsung/goni/goni.c
@@ -45,17 +45,11 @@ void i2c_init_board(void)
int power_init_board(void)
{
- int ret;
-
/*
* For PMIC the I2C bus is named as I2C5, but it is connected
* to logical I2C adapter 0
*/
- ret = pmic_init(I2C_0);
- if (ret)
- return ret;
-
- return 0;
+ return pmic_init(I2C_0);
}
int dram_init(void)