summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-bockw.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-26 00:35:08 -0700
committerSimon Horman <horms+renesas@verge.net.au>2013-08-06 18:07:09 +0900
commit1fd4eecd480b82e11900ae6a8f44d92efeb96004 (patch)
tree73e618ec2deffdfda9e2738b3a2c911818aac68e /arch/arm/mach-shmobile/board-bockw.c
parentfc55190835e02ba5ae23dff40c92ea96db8ec8b6 (diff)
downloadtalos-obmc-linux-1fd4eecd480b82e11900ae6a8f44d92efeb96004.tar.gz
talos-obmc-linux-1fd4eecd480b82e11900ae6a8f44d92efeb96004.zip
ARM: shmobile: r8a7778: cleanup registration of i2c
i2c-rcar driver which doesn't need platform data at the time of registration can be registerd on SoC. And, registering these drivers in the SoC code can avoid unwanted device numbering issue. (ex. the i2c3 device number will be i2c.0 if i2c3 only registered) This patch registers it on SoC code as cleanup C code Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-bockw.c')
-rw-r--r--arch/arm/mach-shmobile/board-bockw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index 1c876abdf317..d7d342740003 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -200,7 +200,6 @@ static void __init bockw_init(void)
r8a7778_init_irq_extpin(1);
r8a7778_add_standard_devices();
r8a7778_add_ether_device(&ether_platform_data);
- r8a7778_add_i2c_device(0);
r8a7778_add_hspi_device(0);
i2c_register_board_info(0, i2c0_devices,
OpenPOWER on IntegriCloud