In some cases, you might need to deassert from reset an hardware block that
doesn't associated to a struct device (CPUs, timers, etc.).
Add a small helper to retrieve the reset controller from the device tree
without the need to pass a struct device.
BUG=chrome-os-partner:30167
TEST=Build and boot
Change-Id: I46fbaf06737cf1d731f50c282c52cac3e24ced6e
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Doug Anderson <dianders@chromium.org>
(cherry picked from commit fc0a592156)