linux/drivers/power/reset
Julia Lawall 8eb96f136f power: reset: account for const type of of_device_id.data
This driver creates a const structure that it stores in the data
field of an of_device_id array.

Add const to the declaration of the location that receives a value
from the data field to ensure that the compiler will continue to check
that the value is not modified and remove the const-dropping cast on
the access to the data field.

Done using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2018-01-08 18:40:57 +01:00
..
arm-versatile-reboot.c power/reset: versatile: support the actual versatile 2016-02-15 05:45:22 +01:00
as3722-poweroff.c
at91-poweroff.c power: reset: at91-poweroff: fix clobber list 2017-06-08 13:05:28 +02:00
at91-reset.c power: reset: at91-reset: remove leftover platform_device_id 2017-01-18 17:05:46 +01:00
at91-sama5d2_shdwc.c power: reset: account for const type of of_device_id.data 2018-01-08 18:40:57 +01:00
axxia-reset.c
brcm-kona-reset.c power: Introduce Broadcom kona reset driver 2016-06-06 16:17:33 -07:00
brcmstb-reboot.c
gemini-poweroff.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpio-poweroff.c power: reset: gpio-poweroff: let devm_gpiod_get set direction of gpio 2015-05-23 20:03:30 +02:00
gpio-restart.c power: reset: gpio-restart: increase priority slightly 2015-06-02 20:59:03 +02:00
hisi-reboot.c power: reset: hisi-reboot: Unmap region obtained by of_iomap 2016-08-12 22:42:37 +02:00
Kconfig power: reset: remove unused imx-snvs-poweroff driver 2018-01-08 18:09:25 +01:00
keystone-reset.c power: reset: add in missing white space in error message text 2016-09-19 21:19:46 +02:00
ltc2952-poweroff.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
Makefile power: reset: remove unused imx-snvs-poweroff driver 2018-01-08 18:09:25 +01:00
msm-poweroff.c power: reset: msm: Clarify restart and poweroff 2018-01-08 18:04:43 +01:00
piix4-poweroff.c Update MIPS email addresses 2017-11-03 09:02:30 -07:00
qnap-poweroff.c
reboot-mode.c power: reset: reboot-mode: Make include file global 2017-06-08 18:18:19 +02:00
restart-poweroff.c
rmobile-reset.c
st-poweroff.c power: reset: st-poweroff: Remove obsolete platforms. 2016-09-19 21:32:22 +02:00
syscon-poweroff.c power: reset: syscon-poweroff: add a mask property 2017-04-14 01:41:33 +02:00
syscon-reboot-mode.c power: reset: reboot-mode: Make include file global 2017-06-08 18:18:19 +02:00
syscon-reboot.c drivers/power: Convert non-modular syscon-reboot to use builtin_platform_driver 2015-06-16 14:12:38 -04:00
vexpress-poweroff.c power: vexpress: make dev_attr_active static 2016-06-13 09:55:51 +01:00
xgene-reboot.c power: reset: xgene-reboot: Unmap region obtained by of_iomap 2016-09-19 21:24:06 +02:00
zx-reboot.c power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2017-12-01 16:10:48 +01:00