]> asedeno.scripts.mit.edu Git - linux.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)
commit7797ff424818c975b59c35880dbc90fe08350204
tree7732c42d85b2be65adb19cf5153565d4c5a07e77
parent250e211057c7237dc75634b1372a1a3bd58dcd96
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