commit | 83a6060c0cd07cafdf8baa08e26c602a06977a2c | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Dec 05 23:16:58 2017 +0100 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Fri Feb 23 15:12:47 2018 +0000 |
tree | cbf1d02654b0dbf809e8ac895ecb22f006286e10 | |
parent | 7cd49a264594251d87e504fe07dcb1fe2c99bbef [diff] |
firmware: arm_scpi: improve struct sensor_value lo_val and hi_val together in this order are a little endian 64 bit value. Therefore we can simplify struct sensor_value and the code by defining it as a __le64 value and by using le64_to_cpu. Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>