[PATCH] arm: prima2: use of_platform_populate instead of of_platform_bus_probe

Arnd Bergmann arnd at arndb.de
Wed May 15 10:20:56 EDT 2013


On Tuesday 14 May 2013, Barry Song wrote:
> 
> use of_platform_populate to populate platform devices, it is suitable
> for creating devices which are children of the root node, then makes
> things like pcm work.
> 
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> Signed-off-by: Rongjun Ying <Rongjun.Ying at csr.com>

With 3.10-rc1 and above, you can just remove the sirfsoc_mach_init
function entirely for the same effect.

	Arnd



More information about the linux-arm-kernel mailing list