OSDN Git Service

thermal/drivers/rockchip_thermal: Allow more resets for tsadc node
authorJohan Jonker <jbx6244@gmail.com>
Thu, 30 Sep 2021 11:05:16 +0000 (13:05 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 16 Oct 2021 22:15:09 +0000 (00:15 +0200)
commit02832ed8ae2c8b130efea4e43d3ecac50b4b7933
treeaf278157c3baec05ebeb1516ed14b59d943ba00c
parent5f553ac2325456f484806df5aa695392364d39f5
thermal/drivers/rockchip_thermal: Allow more resets for tsadc node

The tsadc node in rk356x.dtsi has more resets then currently supported
by the rockchip_thermal.c driver, so use
devm_reset_control_array_get() to reset them all.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20210930110517.14323-3-jbx6244@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/rockchip_thermal.c