From: Frans Meulenbroeks Date: Sun, 8 Jan 2012 18:34:19 +0000 (+0100) Subject: hwmon: (wm831x-hwmon) fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6100f6b49bf8e30c42add718db47f7c39392f5b;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed