]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/platform/olpc: Do not call of_platform_bus_probe()
authorRob Herring <robh@kernel.org>
Fri, 16 Nov 2018 20:18:20 +0000 (14:18 -0600)
committerBorislav Petkov <bp@suse.de>
Sat, 17 Nov 2018 18:29:55 +0000 (19:29 +0100)
commitc04e55388a4f2184e37827a1d2e733cded52d653
tree239c451488fc989f5b425978a11881863ca4025b
parentccda4af0f4b92f7b4c308d3acc262f4a7e3affad
x86/platform/olpc: Do not call of_platform_bus_probe()

The DT core will probe the DT by default now, so the OLPC platform code
calling of_platform_bus_probe() is not necessary. The algorithm for what
nodes are probed is a little different in how compatible is handled, but
since OLPC uses compatible strings for matching it is not affected by
this difference.

Also, only the battery node located at the root level gets a device
created as the dcon is a PCI device and the RTC device is created in
olpc-xo1-rtc.c.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Lubomir Rintel <lkundrak@v3.sk>
Cc: Thomas Gleixner <tglx@linutronix.de>
CC: devicetree@vger.kernel.org
CC: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/20181116201820.10065-1-robh@kernel.org
arch/x86/platform/olpc/olpc_dt.c