]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 26 Nov 2013 09:00:29 +0000 (09:00 +0000)
commitbd2288be890d5ce28e835fad6fd3730aa5e21bce
tree06e65fe7ef62ac791100532dfa34090fa724660c
parentc7c7851028c10dd49b7386cc2fbbf4a999e4fb32
mfd: maxim: 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>
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