Home
last modified time | relevance | path

Searched hist:a6100f6b49bf8e30c42add718db47f7c39392f5b (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dwm831x-hwmon.cdiff a6100f6b49bf8e30c42add718db47f7c39392f5b Sun Jan 08 19:34:19 CET 2012 Frans Meulenbroeks <fransmeulenbroeks@gmail.com> hwmon: (wm831x-hwmon) fix checkpatch issues

fixed:
WARNING: static const char * array should probably be static const char * const
+static const char *input_names[] = {

not fixed (will probably provide separate fix later)
ERROR: Macros with multiple statements should be enclosed in a do - while loop
+#define WM831X_NAMED_VOLTAGE(id, name) \
+ WM831X_VOLTAGE(id, name); \
+ static SENSOR_DEVICE_ATTR(in##id##_label, S_IRUGO, show_label, \
+ NULL, name)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>