]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: octeon: use of_platform_populate to probe devices
authorRob Herring <robh@kernel.org>
Tue, 19 Jun 2018 21:47:06 +0000 (15:47 -0600)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commitf072f9ce9bd3602bd3b14e15513ee80d437cf4cf
tree916d9d6568e94564fbe39f4ef568ab3fe1e3966c
parentc8bf38055efaf764fd8c313695759c64dc735842
MIPS: octeon: use of_platform_populate to probe devices

of_platform_bus_probe is deprecated in favor of of_platform_populate.
of_platform_populate is stricter requiring compatible properties for
matching rather than name or type. Octeon uses compatible strings for
matching, so convert it to of_platform_populate.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Rob Herring <robh@kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/19588/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-kernel@vger.kernel.org
arch/mips/cavium-octeon/octeon-platform.c