projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85ebfd3
)
hwmon: (wm8350-hwmon) Constify fixed string array
author
Guenter Roeck
<linux@roeck-us.net>
Fri, 20 Jan 2012 17:43:54 +0000
(09:43 -0800)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:00 +0000
(18:27 -0700)
Constify fixed string array and make checkpatch happy.
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/hwmon/wm8350-hwmon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/wm8350-hwmon.c
b/drivers/hwmon/wm8350-hwmon.c
index 3ff67edbdc44af02a7d0553dd2d74530cc00ca6f..b955756bdb4221b87f6c7b5be4a45f7b7d6920d5 100644
(file)
--- a/
drivers/hwmon/wm8350-hwmon.c
+++ b/
drivers/hwmon/wm8350-hwmon.c
@@
-34,7
+34,7
@@
static ssize_t show_name(struct device *dev,
return sprintf(buf, "wm8350\n");
}
-static const char *input_names[] = {
+static const char *
const
input_names[] = {
[WM8350_AUXADC_USB] = "USB",
[WM8350_AUXADC_LINE] = "Line",
[WM8350_AUXADC_BATT] = "Battery",