Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1323173 > unrolled thread
| Started by | Heiko Stübner <heiko@sntech.de> |
|---|---|
| First post | 2016-02-01 15:30 +0100 |
| Last post | 2016-02-01 15:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2 01/15] arm: use of_platform_default_populate() to populate default bus Heiko Stübner <heiko@sntech.de> - 2016-02-01 15:30 +0100
| From | Heiko Stübner <heiko@sntech.de> |
|---|---|
| Date | 2016-02-01 15:30 +0100 |
| Subject | Re: [PATCH v2 01/15] arm: use of_platform_default_populate() to populate default bus |
| Message-ID | <qXnEq-45e-93@gated-at.bofh.it> |
Am Mittwoch, 27. Januar 2016, 15:53:00 schrieb Kefeng Wang:
> Use helper of_platform_default_populate() in linux/of_platform
> when possible, instead of calling of_platform_populate() with
> the default match table.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
> diff --git a/arch/arm/mach-rockchip/rockchip.c
> b/arch/arm/mach-rockchip/rockchip.c index 3f07cc5..07ef8ef 100644
> --- a/arch/arm/mach-rockchip/rockchip.c
> +++ b/arch/arm/mach-rockchip/rockchip.c
> @@ -73,7 +73,7 @@ static void __init rockchip_timer_init(void)
> static void __init rockchip_dt_init(void)
> {
> rockchip_suspend_init();
> - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
> + of_platform_default_populate(NULL, NULL, NULL);
> platform_device_register_simple("cpufreq-dt", 0, NULL, 0);
> }
sounds sensible, so
Acked-by: Heiko Stuebner <heiko@sntech.de>
Back to top | Article view | linux.kernel
csiph-web