04 Aug, 2014
40 commits
-
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Move g760a_driver to proper place to avoid forward declaration.
Also move g760a_id table close to g760a_driver.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
smatch complains as follows when checking w83791d.c.
drivers/hwmon/w83791d.c:996 store_temp23() warn:
'32768' 32768 can't fit into 32767 'data->temp_add[nr][index]'Fix by using DIV_ROUND_CLOSEST and clamp_val to convert the values.
While we are at it, modify other macros as well for consistency and
to make the code easier to understand.Signed-off-by: Guenter Roeck
-
smatch complains as follows when checking lm63.c.
drivers/hwmon/lm63.c:594 set_temp11() warn:
'65504' 65504 can't fit into 32767 'data->temp11[nr]'
drivers/hwmon/lm63.c:596 set_temp11() warn:
'32768' 32768 can't fit into 32767 'data->temp11[nr]'Fix by using DIV_ROUND_CLOSEST and clamp_val to convert the values.
While we are at it, modify other macros as well for consistency and
to make the code easier to understand.Signed-off-by: Guenter Roeck
-
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declarations.
Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Move ad7418_driver to proper place to avoid forward declaration.
Also move ad7418_init_client() close to ad7418_probe().Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
This patch adds support for the ntc thermistor B57330V2103 from EPCOS.
Signed-off-by: Johannes Pointner
Signed-off-by: Guenter Roeck -
This patch adds the vendor prefix for "epcos" to the vendor-prefixes.
Signed-off-by: Johannes Pointner
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Tested-by: Iain Paton
Signed-off-by: Guenter Roeck -
Add missing i2c_set_clientdata() call in tmp103_probe, this makes the
dev_get_drvdata() call in tmp103_suspend/tmp103_resume return correct
address.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
TMP112 is compatible to LM75.
Signed-off-by: Frans Klaver
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Acked-by: Kevin Lo
Signed-off-by: Guenter Roeck -
Reorder functions to avoid forward declaration.
Signed-off-by: Axel Lin
Acked-by: Kevin Lo
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Acked-by: Charles Keepax
Signed-off-by: Guenter Roeck -
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.Signed-off-by: Axel Lin
Acked-by: Charles Keepax
Signed-off-by: Guenter Roeck