]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: maxim: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:33:00 +0000 (14:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:27 +0000 (09:13 +0000)
commita2230837e2545e7961e23843da8328e243ff319b
treeea36b5a5758447f3a060c5c9cf7471ad6b2d7112
parent66e2af22fa09bb067858119376b565c1fe3a21b8
mfd: maxim: 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/max77686.c
drivers/mfd/max77693.c
drivers/mfd/max8907.c
drivers/mfd/max8925-core.c
drivers/mfd/max8997.c
drivers/mfd/max8998.c