]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: qoriq: add multiple sensors support
authorYuantian Tang <andy.tang@nxp.com>
Fri, 18 Jan 2019 05:39:40 +0000 (13:39 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 6 Feb 2019 00:36:26 +0000 (16:36 -0800)
commita2f148e33e767ed7a5e18207de0e6519f1a2c345
tree7732c42d85b2be65adb19cf5153565d4c5a07e77
parent9201e3ed327b990f3c77eb6b8671a59971046655
thermal: qoriq: add multiple sensors support

The QorIQ Layerscape SoC has several thermal sensors but the current
driver only supports one.

Massage the code to be sensor oriented and allow the support for
multiple sensors.

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qoriq_thermal.c