]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal: armada: remove sensors validity from the IP initialization
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 16 Jul 2018 14:41:53 +0000 (16:41 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 27 Jul 2018 21:43:10 +0000 (14:43 -0700)
commit00707e4c9618949d492f685c324326f39f08ea9c
tree26805bccb3600faab987942db635516998d34b18
parentf7c2068a1728c1b2aed9416b071a3e2f8f887786
thermal: armada: remove sensors validity from the IP initialization

When using new bindings with multiple sensors, sensor validity is
checked twice because sensor selection also checks for the validity.

Remove the redundant call from the IP initialization helper and move it
to the legacy probe section where it is still needed.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/armada_thermal.c