Thermal/int340x: avoid unnecessary pointer casting
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 4 Nov 2014 23:53:34 +0000 (15:53 -0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 9 Dec 2014 03:31:19 +0000 (11:31 +0800)
commitb81e5962af2c9453167d7be2efc46f42c42f63d2
tree116f6bf92289553826bce459b6648a7bcbbe21f6
parent931b9c86d9a518b1374157f103168fb787e6560e
Thermal/int340x: avoid unnecessary pointer casting

Avoid pointer casting which may also lead to problems on big endian
64 bit systems.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/int340x_thermal/acpi_thermal_rel.c