Skip to content

Commit

Permalink
board: samsung: trats: remove the i2c_init function
Browse files Browse the repository at this point in the history
i2c should be initialized with device-tree.
This function doesn't need anymore.

Signed-off-by: Jaehoon Chung <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
  • Loading branch information
jh80chung authored and MinkyuKang committed Apr 3, 2017
1 parent 57bbc37 commit 8908fd6
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions board/samsung/trats/trats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 8908fd6

Please sign in to comment.