]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: shmobile: r8a7778: cleanup registration of hspi
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 30 Jul 2013 07:02:24 +0000 (00:02 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Aug 2013 09:07:09 +0000 (18:07 +0900)
commit3c7b5362323cd4b5d09a5b21ba8e74b3de05fc73
tree4676c3750adae0d4379a75fd1441c35419929b96
parent1fd4eecd480b82e11900ae6a8f44d92efeb96004
ARM: shmobile: r8a7778: cleanup registration of hspi

sh-hspi 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 hspi2 device number will be spi.0 if hspi2 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>
arch/arm/mach-shmobile/board-bockw.c
arch/arm/mach-shmobile/include/mach/r8a7778.h
arch/arm/mach-shmobile/setup-r8a7778.c