projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ae8f8
)
hwmon: (adt7475) fix checkpatch issues
author
Frans Meulenbroeks
<fransmeulenbroeks@gmail.com>
Sun, 8 Jan 2012 18:34:08 +0000
(19:34 +0100)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:37 +0000
(18:26 -0700)
fixed:
WARNING: static const char * array should probably be static const char * const
+ static const char *names[] = {
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/adt7475.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/adt7475.c
b/drivers/hwmon/adt7475.c
index 7dab3547fee5268a5295dc87fe47a261253af5dd..71e9ac4b84945e5b6fa245be363850d9d801a3dd 100644
(file)
--- a/
drivers/hwmon/adt7475.c
+++ b/
drivers/hwmon/adt7475.c
@@
-1232,7
+1232,7
@@
static void adt7475_remove_files(struct i2c_client *client,
static int adt7475_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
- static const char *names[] = {
+ static const char *
const
names[] = {
[adt7473] = "ADT7473",
[adt7475] = "ADT7475",
[adt7476] = "ADT7476",