hwmon: (f71882fg) fix checkpatch
PATCH v2 7/17 hwmon: (f71882fg) fix checkpatch
fixed:
WARNING: static const char * array should probably be static const char * const #115: FILE: f71882fg.c:115:
+static const char *f71882fg_names[] = {
Signed-off-by Frans Meulenbroeks <[email protected]>
--- drivers/hwmon/f71882fg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/f71882fg.c +1 -1
@@ -112,7 +112,7 @@ MODULE_PARM_DESC(force_id, "Override the detected device ID");enum chips { f71808e, f71808a, f71858fg, f71862fg, f71869, f71869a, f71882fg, f71889fg, f71889ed, f71889a, f8000, f81865f }; -static const char *f71882fg_names[] = { +static const char *const f71882fg_names[] = {"f71808e" ,"f71808a" ,"f71858fg" ,
Signature · 7 lines
1.7.8.2 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors