Guenter Roeck
5614e26d84
hwmon: (ltc2945): Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO}
...
Conversion was done done using the coccinelle script at
https://github.com/groeck/coccinelle-patches/raw/master/hwmon/sensor-devattr-w6.cocci
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-12-16 15:13:23 -08:00
Axel Lin
034b44b4a2
hwmon: Make regmap configs const
...
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-08-04 07:01:35 -07:00
Guenter Roeck
86b89d73f9
hwmon: (ltc2945) Fix 1st comment line
...
Somehow a couple of spaces got added to the first line. Remove them.
No code change.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-05-21 16:02:22 -07:00
Guenter Roeck
f75d723091
hwmon: (ltc2945) Don't crash the kernel unnecessarily
...
An implementation error should not crash the kernel if it is avoidable.
Replace BUG() with WARN_ONCE().
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-04-24 06:09:43 -07:00
Guenter Roeck
6700ce035f
hwmon: Driver for Linear Technologies LTC2945
...
LTC2945 is a system monitor that measures current, voltage, and power.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-03-03 08:01:03 -08:00