thermal: armada: dissociate a380 and cp110 ->init() hooks
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 16 Jul 2018 14:41:48 +0000 (16:41 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 27 Jul 2018 21:43:06 +0000 (14:43 -0700)
commit5b5e17a182e14316ab4369fd9e8173207cf42130
tree8f32e0bd57208fa25e3c048450d7da68378de32b
parent8b4c2712cd7cbf9f83b8032550c7cbdfcdf970eb
thermal: armada: dissociate a380 and cp110 ->init() hooks

Until now, Armada 380 and CP110 could share the same ->init() function
because their use was identical.

Prepare the support of multi-sensors support and overheat interrupt
feature by separating the initialization paths before they actually
diverge.

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