]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: toshiba: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:33:03 +0000 (14:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 26 Nov 2013 09:00:22 +0000 (09:00 +0000)
commita2dc7bcc692a76abb97b6efdc0991d3340f63950
treedd0f00fd406817a5dcfada0e390f5dc9949d1169
parent4eea9ba93d600fc68ba29ff31b113d72b390f11c
mfd: toshiba: 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/tc3589x.c
drivers/mfd/tc6387xb.c