lkml.org 
[lkml]   [2016]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v2 01/15] arm: use of_platform_default_populate() to populate default bus
    Date
    Kefeng Wang <wangkefeng.wang@huawei.com> writes:

    > Use helper of_platform_default_populate() in linux/of_platform
    > when possible, instead of calling of_platform_populate() with
    > the default match table.
    > --- a/arch/arm/mach-cns3xxx/core.c
    > +++ b/arch/arm/mach-cns3xxx/core.c
    > @@ -395,8 +395,7 @@ static void __init cns3xxx_init(void)
    >
    > pm_power_off = cns3xxx_power_off;
    >
    > - of_platform_populate(NULL, of_default_bus_match_table,
    > - cns3xxx_auxdata, NULL);
    > + of_platform_default_populate(NULL, cns3xxx_auxdata, NULL);
    > }
    >

    Doesn't look wrong :-)

    Acked-by: Krzysztof Halasa <khalasa@piap.pl>

    --
    Krzysztof Halasa

    Industrial Research Institute for Automation and Measurements PIAP
    Al. Jerozolimskie 202, 02-486 Warsaw, Poland

    \
     
     \ /
      Last update: 2016-02-16 11:21    [W:4.469 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site