
5 Sep
2016
5 Sep
'16
3:38 p.m.
Currently, this function is just a wrapper of pmic_init().
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com ---
board/samsung/goni/goni.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 1600568..e8329bb 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)
--
1.9.1