]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm75) Add new fields into lm75_params_
authorIker Perez del Palomar Sustatxa <iker.perez@codethink.co.uk>
Thu, 8 Aug 2019 08:02:45 +0000 (09:02 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commit81e15c4df23aaff19ee6362cca9e00ef27506c98
tree6a16981f179fdd841e1bff046f5698f9c3342da7
parent64d46fbc2b92414a9f8d6e878355da4f35e78d82
hwmon: (lm75) Add new fields into lm75_params_

The new fields are included to prepare the driver for next patch. The
fields are:

* *resolutions: Stores all the supported resolutions by the device.
* num_sample_times: Stores the number of possible sample times.
* *sample_times: Stores all the possible sample times to be set.
* sample_set_masks: The set_masks for the possible sample times
* sample_clr_mask: Clear mask to set the default sample time.

Signed-off-by: Iker Perez del Palomar Sustatxa <iker.perez@codethink.co.uk>
Link: https://lore.kernel.org/r/20190808080246.8371-4-iker.perez@codethink.co.uk
[groeck: Minor structure documentation fixes]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c