]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: remove unnecessary of_platform_populate call
authorRob Herring <robh@kernel.org>
Tue, 19 Jun 2018 21:41:34 +0000 (15:41 -0600)
committerPalmer Dabbelt <palmer@sifive.com>
Wed, 4 Jul 2018 21:12:38 +0000 (14:12 -0700)
commitba8c501b5ff701751e9b2b6e0d1e2a7f79410a42
treeba455be3c4135fa580b639dfb20e4859dee2b244
parent1d2b27d924316b7668a982b5820f33d9c640d60b
riscv: remove unnecessary of_platform_populate call

The DT core will call of_platform_default_populate, so it is not
necessary for arch specific code to call it unless there are custom
match entries, auxdata or parent device. Neither of those apply here, so
remove the call.

Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: linux-riscv@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/setup.c