projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787f68
)
regulator: 88pm8607: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:45:05 +0000
(
00:45
+0900)
committer
Mark Brown
<broonie@kernel.org>
Fri, 1 May 2015 16:44:55 +0000
(17:44 +0100)
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/88pm8607.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/88pm8607.c
b/drivers/regulator/88pm8607.c
index c3d15427adc7b2052191884aa58d3a069410016e..b100a63ff3b3f6398b649129559f8228f66265c2 100644
(file)
--- a/
drivers/regulator/88pm8607.c
+++ b/
drivers/regulator/88pm8607.c
@@
-404,7
+404,7
@@
static int pm8607_regulator_probe(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id pm8607_regulator_driver_ids[] = {
+static
const
struct platform_device_id pm8607_regulator_driver_ids[] = {
{
.name = "88pm860x-regulator",
.driver_data = 0,