summaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-08 19:34:19 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:26:33 -0700
commita6100f6b49bf8e30c42add718db47f7c39392f5b (patch)
tree5ad31e0ddeb8c735604fcbd1ef52d8d1f9563933 /drivers/pps
parent839a9eefc918345ae7a7e8c6f583e2e653646d4d (diff)
downloadlinux-stable-a6100f6b49bf8e30c42add718db47f7c39392f5b.tar.gz
linux-stable-a6100f6b49bf8e30c42add718db47f7c39392f5b.tar.bz2
linux-stable-a6100f6b49bf8e30c42add718db47f7c39392f5b.zip
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>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions