]> git.karo-electronics.de Git - karo-tx-linux.git/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>
Tue, 26 Nov 2013 09:00:42 +0000 (09:00 +0000)
commit34c3083a665a8e5756290bcae293f8af48e7a0cf
treeccca44e72332d27a2584722325e649f934d03434
parent9428d37a303312f68d5e8d78baa46dba3d4fc43e
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