[POWERPC] cbe_thermal: clean up computation of temperature
authorChristian Krafft <krafft@de.ibm.com>
Mon, 23 Apr 2007 19:35:40 +0000 (21:35 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:44:39 +0000 (21:44 +0200)
commit24d560d7b9cf90451c6ef6248c09fb4cee1c76e6
tree72ce3dac5fb300f6ef539170f260bc30c3de5503
parent91a69c9646a5b709381d99a171890e77377b1b9c
[POWERPC] cbe_thermal: clean up computation of temperature

This patch introduces a little function for transforming
register values into temperature.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/cbe_thermal.c