mfd: wolfson: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <[email protected]>
Mon, 18 Nov 2013 13:33:04 +0000 (14:33 +0100)
committerLee Jones <[email protected]>
Mon, 6 Jan 2014 09:13:25 +0000 (09:13 +0000)
commitad59de489bf4c81b90b25fb9017f0e6d141f5415
tree2f0519f71930d09ddf75317084496824b6d60862
parentc8f675ff378b95eb6bf38de316e1b82339c44042
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 <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
drivers/mfd/wm831x-core.c
drivers/mfd/wm8994-core.c