Revert "clocksource/drivers/timer-probe: Avoid creating dead devices"
authorThomas Gleixner <tglx@linutronix.de>
Sat, 28 Mar 2020 10:20:36 +0000 (11:20 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 28 Mar 2020 10:25:44 +0000 (11:25 +0100)
commit4479730e9263befbb9ce9563a09563db2acb8f7c
treee429e40fd6e2477aa785853e2a550788d702a7b1
parentca214e2c1793058e3a1387f9e343cc5b1731db15
Revert "clocksource/drivers/timer-probe: Avoid creating dead devices"

This reverts commit 4f41fe386a94639cd9a1831298d4f85db5662f1e.

The change breaks systems on which the DT node of a device is used by
multiple drivers. The proposed workaround to clear OF_POPULATED is just a
band aid and this needs to be cleaned up at the root of the problem.

Revert this for now.

Reported-by: Ionela Voinescu <ionela.voinescu@arm.com>
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Requested-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Saravana Kannan <saravanak@google.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200324175955.GA16972@arm.com
drivers/clocksource/timer-probe.c