thermal: armada: Allow to specify an 'inverted readout' sensor
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 6 May 2014 16:59:49 +0000 (13:59 -0300)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 May 2014 09:12:48 +0000 (17:12 +0800)
commitfd2c94d5a32297c63b025b54b71aa24ccc0596ed
tree62fb40a3d929a24e18aa4272ec7a24df39405df6
parent04bf3d7e5ba862214f1c761778c414be95e2dfb9
thermal: armada: Allow to specify an 'inverted readout' sensor

In order to support inverted-formula thermal sensor readout, this commit
introduces an 'inverted' field in the SoC-specific structure which
allows to specify an inversion of the temperature formula.

Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/armada_thermal.c