]> Pileus Git - ~andy/linux/commit
mfd: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:33:06 +0000 (14:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:29 +0000 (09:13 +0000)
commit5ac98553afe41ffb5513fa8aac6df699a70231a3
tree98ce7a973aa86184d1c4dc17a758dcd1534fc1bd
parent2977dc92e437f888974b2e9fe37c95dd29e2b62a
mfd: Constify struct mfd_cell where possible

As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
mfd_add_devices() is "const" again. Hence make all cell data passed to
mfd_add_devices() const where possible.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
16 files changed:
drivers/mfd/ab8500-core.c
drivers/mfd/arizona-core.c
drivers/mfd/as3722.c
drivers/mfd/asic3.c
drivers/mfd/cros_ec.c
drivers/mfd/db8500-prcmu.c
drivers/mfd/htc-pasic3.c
drivers/mfd/jz4740-adc.c
drivers/mfd/lp8788.c
drivers/mfd/rc5t583.c
drivers/mfd/rdc321x-southbridge.c
drivers/mfd/retu-mfd.c
drivers/mfd/sec-core.c
drivers/mfd/timberdale.c
drivers/mfd/viperboard.c
drivers/mfd/vx855.c