Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups to
simplify the code a bit.
Signed-off-by: Axel Lin <[email protected]>
Tested-by: Per Dalén <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Many hwmon drivers use jiffies but omit the inclusion of the header
file. Fix that, and also fix one driver which was including the header
file but didn't need it.
Signed-off-by: Jean Delvare <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Acked-by: Luca Tettamanti <[email protected]>
Cc: Marc Hulsman <[email protected]>
Cc: Rudolf Marek <[email protected]>
Convert to use devm_ functions to reduce code size and simplify the code.
Cc: Per Dalen <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
LTC4151 is High Voltage I2C Current and Voltage Monitor from Linear
Technology.
Signed-off-by: Per Dalen <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>