commit | 24333ac26d01aab4cee8e1c137c34b97ab294b19 | [log] [tgz] |
---|---|---|
author | Jeroen De Wachter <jeroen.de_wachter.ext@nokia.com> | Mon Jan 09 18:55:00 2017 +0100 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Jan 10 09:01:32 2017 -0800 |
tree | 31350598086eedf71f8ce6f036fee3b2b66df9b5 | |
parent | 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 [diff] |
hwmon: (tmp401) use smb word operations instead of 2 smb byte operations tmp401 separately read/wrote high and low bytes of temperature values while the hardware supports reading/writing those values in one operation. Driver has been modified to use word operations where possible. Tested with a tmp432 sensor on a mips64 platform. Signed-off-by: Jeroen De Wachter <jeroen.de_wachter.ext@nokia.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>