commit | 68b14828ca102630e721d10b2e5dedc9c9b38095 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Mon Jul 16 16:41:54 2018 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Fri Jul 27 14:43:11 2018 -0700 |
tree | 0deb8823eca89662b73722236290a2e2c5a82fba | |
parent | 00707e4c9618949d492f685c324326f39f08ea9c [diff] |
thermal: armada: move validity check out of the read function Sensor selection when using multiple sensors already checks for the sensor validity. Move it to the legacy ->get_temp() hook, where it is still needed. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>