hwmon: (tmp421) Allow reading at 2Hz instead of 0.5Hz
authorKyle Roeschley <kyle.roeschley@ni.com>
Mon, 14 Oct 2019 14:03:10 +0000 (09:03 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Nov 2019 22:37:19 +0000 (14:37 -0800)
commit5ff02752b318ecfabe2a79cf50f8a1d563b9eb02
tree36c5f741dcbbe240e4ef5770c475590c37666e56
parent58a24b5241e6a86a965bb5d4a7a3df8767660611
hwmon: (tmp421) Allow reading at 2Hz instead of 0.5Hz

Our driver configures the device to read at 2Hz, but then only allows the
user to read cached temp values at up to 0.5Hz. Let's allow users to read
as quickly as we do.

Signed-off-by: Kyle Roeschley <kyle.roeschley@ni.com>
Link: https://lore.kernel.org/r/20191014140310.7438-1-kyle.roeschley@ni.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c