soc/tegra: pmc: Use the new reset APIs to manage reset controllers
authorVivek Gautam <vivek.gautam@codeaurora.org>
Wed, 19 Jul 2017 15:59:08 +0000 (17:59 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 19 Mar 2018 08:42:39 +0000 (09:42 +0100)
commit4c817ccf73abaf7b06a2630e8352d82648c8bc70
tree5d2f68eb642bfa3c99fde676b8ffd7a085f190b5
parent507c655a06c8553a67122c371608b024b997b0e0
soc/tegra: pmc: Use the new reset APIs to manage reset controllers

Make use of of_reset_control_array_get_exclusive() to manage
an array of reset controllers available with the device.

Cc: Jon Hunter <jonathanh@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
[p.zabel@pengutronix.de: switch to hidden reset control array]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c