OSDN Git Service

thermal: armada: Use real status register name
authorMiquel Raynal <miquel.raynal@free-electrons.com>
Fri, 22 Dec 2017 16:14:07 +0000 (17:14 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 1 Jan 2018 21:17:18 +0000 (13:17 -0800)
commit8371b8a3324b4dcee2a51983a3309c5a8bc6cd3b
tree143797cd15156e5130b4b0624a3b5f8a3b95bc79
parent2f28e4c24b10e29b5f737103a0a6fc77b1c0c99c
thermal: armada: Use real status register name

Three 32-bit registers are used to drive the thermal IP: control0,
control1 and status. The two control registers share the same name both
in the documentation and in the code, while the latter is referred as
"sensor" in the code. Rename this pointer to be called "status" in order
to be aligned with the documentation.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/armada_thermal.c