hwmon: (lm75) Move updating the sample interval to its own function
authorGuenter Roeck <linux@roeck-us.net>
Thu, 8 Aug 2019 21:30:23 +0000 (14:30 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commit040b106ff8d6dcef5704f96ea84edfe28addb4a0
tree01ef84a75502ee0f3c74f53e38aa31cb48ad2cba
parent7db0db3f6cced88af881520dd993c5b0044a7760
hwmon: (lm75) Move updating the sample interval to its own function

We'll need per-chip handling for updating the sample interval.
To prepare for it, separate the code implementing it into its own
function.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c