]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: wolfson: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:33:04 +0000 (14:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:25 +0000 (09:13 +0000)
commit7f2297524f84556f6307302850e32f1bb7473016
tree2f0519f71930d09ddf75317084496824b6d60862
parentf125d868f2c8d96f459bb63919fa2d483c417e6b
mfd: wolfson: 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>
drivers/mfd/wm831x-core.c
drivers/mfd/wm8994-core.c