Skip to content

Commit 1dc3708

Browse files
Frans MeulenbroeksGuenter Roeck
Frans Meulenbroeks
authored and
Guenter Roeck
committed
hwmon: (f71882fg) fix checkpatch issues
fixed: WARNING: static const char * array should probably be static const char * const +static const char *f71882fg_names[] = { Signed-off-by: Frans Meulenbroeks <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent c6e8ac0 commit 1dc3708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hwmon/f71882fg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ MODULE_PARM_DESC(force_id, "Override the detected device ID");
112112
enum chips { f71808e, f71808a, f71858fg, f71862fg, f71869, f71869a, f71882fg,
113113
f71889fg, f71889ed, f71889a, f8000, f81865f };
114114

115-
static const char *f71882fg_names[] = {
115+
static const char *const f71882fg_names[] = {
116116
"f71808e",
117117
"f71808a",
118118
"f71858fg",
@@ -362,7 +362,7 @@ static ssize_t store_pwm_auto_point_temp(struct device *dev,
362362
static ssize_t show_name(struct device *dev, struct device_attribute *devattr,
363363
char *buf);
364364

365-
static int __devinit f71882fg_probe(struct platform_device * pdev);
365+
static int __devinit f71882fg_probe(struct platform_device *pdev);
366366
static int f71882fg_remove(struct platform_device *pdev);
367367

368368
static struct platform_driver f71882fg_driver = {

0 commit comments

Comments
 (0)