summaryrefslogtreecommitdiff
path: root/drivers/mfd/max8925-core.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-09-22 22:26:58 +0300
committerLee Jones <lee.jones@linaro.org>2020-11-19 11:34:21 +0300
commit4bdcbbb9a3a840a4b8105fd971dda319389a593f (patch)
tree40837a1508cdef25172e1d266436942abbfbd483 /drivers/mfd/max8925-core.c
parent8d7b3a6dac4eae22c58b0853696cbd256966741b (diff)
downloadlinux-4bdcbbb9a3a840a4b8105fd971dda319389a593f.tar.xz
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/max8925-core.c')
0 files changed, 0 insertions, 0 deletions