thermal: ti-soc-thermal: Use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 29 Feb 2020 21:05:32 +0000 (22:05 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 12 Mar 2020 10:56:53 +0000 (11:56 +0100)
commit7375f2ac6b2d5f42ebc42e25f5251aa3284f30ed
treef971543bee73ec9659a527687a7be87ced42b25c
parenteb8504620381f457dd84d00604772a960c21edd4
thermal: ti-soc-thermal: Use GPIO descriptors

This switches the TI SoC thermal driver to use GPIO
descriptors instead of retrieveing a GPIO number from the
device tree and requesting the GPIO separately.

Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200229210532.173430-1-linus.walleij@linaro.org
drivers/thermal/ti-soc-thermal/ti-bandgap.c
drivers/thermal/ti-soc-thermal/ti-bandgap.h