summaryrefslogtreecommitdiff
path: root/drivers/bus/uniphier-system-bus.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-06-01 14:53:08 +0800
committerRob Herring <robh@kernel.org>2016-06-23 15:00:48 -0500
commit2cf669243ecb6c1bf0d39e54710c4c24ef0ab4da (patch)
tree490034fe28ee25ad16ef6048df43952679759410 /drivers/bus/uniphier-system-bus.c
parent39ec8d3809fdf5228f9cb9fa3d3f2bfb4ee57956 (diff)
bus: uniphier-system-bus: 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: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/bus/uniphier-system-bus.c')
-rw-r--r--drivers/bus/uniphier-system-bus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bus/uniphier-system-bus.c b/drivers/bus/uniphier-system-bus.c
index 350b7309c26d..1e6e0269edcc 100644
--- a/drivers/bus/uniphier-system-bus.c
+++ b/drivers/bus/uniphier-system-bus.c
@@ -257,8 +257,7 @@ static int uniphier_system_bus_probe(struct platform_device *pdev)
uniphier_system_bus_set_reg(priv);
/* Now, the bus is configured. Populate platform_devices below it */
- return of_platform_populate(dev->of_node, of_default_bus_match_table,
- NULL, dev);
+ return of_platform_default_populate(dev->of_node, NULL, dev);
}
static const struct of_device_id uniphier_system_bus_match[] = {