bus: imx-weim: use of_platform_default_populate() to populate default bus
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 1 Jun 2016 06:53:07 +0000 (14:53 +0800)
committerRob Herring <robh@kernel.org>
Thu, 23 Jun 2016 20:00:45 +0000 (15:00 -0500)
commit39ec8d3809fdf5228f9cb9fa3d3f2bfb4ee57956
treeb9d9cb9308b550eb1aa76c9c708778e65368e93d
parent1a1d2f9968660e016883b21c499158c08d9c87bf
bus: imx-weim: use of_platform_default_populate() to populate default bus

Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Signed-off-by: Huang Shijie <b32955@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/bus/imx-weim.c