From: Jaehoon Chung Date: Thu, 30 Mar 2017 12:30:01 +0000 (+0900) Subject: board: samsung: trats: remove the i2c_init function X-Git-Tag: v2017.05-rc2~59^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8908fd66b56f481cb470528c34e286fa811254d6;p=u-boot board: samsung: trats: remove the i2c_init function i2c should be initialized with device-tree. This function doesn't need anymore. Signed-off-by: Jaehoon Chung Reviewed-by: Simon Glass Signed-off-by: Minkyu Kang --- diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index be5e2e2710..00059a1317 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -52,19 +52,6 @@ int exynos_init(void) return 0; } -void i2c_init_board(void) -{ -#ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ - int err; - - /* I2C_8 -> FG */ - gpio_request(EXYNOS4_GPIO_Y40, "i2c_clk"); - gpio_request(EXYNOS4_GPIO_Y41, "i2c_data"); - gpio_direction_output(EXYNOS4_GPIO_Y40, 1); - gpio_direction_output(EXYNOS4_GPIO_Y41, 1); -#endif -} - #ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ static void trats_low_power_mode(void) {