]> git.baikalelectronics.ru Git - kernel.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>
Mon, 6 Jan 2014 09:13:29 +0000 (09:13 +0000)
commit2c5a633331d2a29e9d3ddc46d8e57d29044aeaa4
tree98ce7a973aa86184d1c4dc17a758dcd1534fc1bd
parentb9a1866c3799b0a19ba3e3ffaa68af9683a90b83
mfd: Constify struct mfd_cell where possible

As of commit 30608690597d03087e454a47a7c40a56e8a4b997 ("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