summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-06-01 09:53:06 +0300
committerRob Herring <robh@kernel.org>2016-06-23 23:00:42 +0300
commit1a1d2f9968660e016883b21c499158c08d9c87bf (patch)
tree7ba811fe0da6f4dad1f46577891e5e678732e152 /arch/mips
parent435ebcbc9fee4e8af037d293c89de60be3605c66 (diff)
downloadlinux-1a1d2f9968660e016883b21c499158c08d9c87bf.tar.xz
mips: 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. Cc: Joshua Henderson <joshua.henderson@microchip.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/pic32/pic32mzda/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/pic32/pic32mzda/init.c b/arch/mips/pic32/pic32mzda/init.c
index 775ff90a9962..77ecf32ef3dc 100644
--- a/arch/mips/pic32/pic32mzda/init.c
+++ b/arch/mips/pic32/pic32mzda/init.c
@@ -147,8 +147,7 @@ static int __init plat_of_setup(void)
panic("Device tree not present");
pic32_of_prepare_platform_data(pic32_auxdata_lookup);
- if (of_platform_populate(NULL, of_default_bus_match_table,
- pic32_auxdata_lookup, NULL))
+ if (of_platform_default_populate(NULL, pic32_auxdata_lookup, NULL))
panic("Failed to populate DT");
return 0;