]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 26 Nov 2013 09:00:18 +0000 (09:00 +0000)
commit4eea9ba93d600fc68ba29ff31b113d72b390f11c
tree86677ed4011be170609df82d81448f3d3e3269d6
parent05f48eacb92718531096095665d928a4a46f940e
mfd: wolfson: 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/wm831x-core.c
drivers/mfd/wm8994-core.c