summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8350-i2c.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-09-22 21:26:58 +0200
committerLee Jones <lee.jones@linaro.org>2020-11-19 09:34:21 +0100
commit4bdcbbb9a3a840a4b8105fd971dda319389a593f (patch)
tree40837a1508cdef25172e1d266436942abbfbd483 /drivers/mfd/wm8350-i2c.c
parentmfd: stmpe: Constify static struct resource (diff)
downloadlinux-4bdcbbb9a3a840a4b8105fd971dda319389a593f.tar.xz
linux-4bdcbbb9a3a840a4b8105fd971dda319389a593f.zip
mfd: sun4i-gpadc: Constify static struct resource
Constify adc_resources[]. The only usage is to assign its address to the resources field of the mfd_cell struct. This allows the compiler to put it in read-only memory. Done with the help of Coccinelle. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm8350-i2c.c')
0 files changed, 0 insertions, 0 deletions