]> git.karo-electronics.de Git - karo-tx-linux.git/commit
of: unittest: use of_platform_default_populate() to populate default bus
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 1 Jun 2016 06:53:10 +0000 (14:53 +0800)
committerRob Herring <robh@kernel.org>
Thu, 23 Jun 2016 20:00:59 +0000 (15:00 -0500)
commit146dedbcabd89461faaa85a82e50b2fdd6b24683
treed235933a317917547155598fb61ef4cd306f33d6
parent9f2c519c9f27d804b54422afd31a17335b32a556
of: unittest: 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: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c