nvmem: rockchip-otp: Use devm_reset_control_array_get_exclusive()
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Sun, 11 Jun 2023 14:03:15 +0000 (15:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:42:17 +0000 (13:42 +0200)
commitd325c9dd2b6e94040ca722ddcadcd6af358dd2be
treeef74af8eb5788160c1d89c2b4287812f66b4cb95
parent30fd21cfb1e64ef20035559a8246f5fbf682c40e
nvmem: rockchip-otp: Use devm_reset_control_array_get_exclusive()

In preparation to support new Rockchip OTP memory devices having
specific reset configurations, switch devm_reset_control_get() to
devm_reset_control_array_get_exclusive().

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tested-by: Vincent Legoll <vincent.legoll@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Message-ID: <20230611140330.154222-12-srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/rockchip-otp.c