]> git.baikalelectronics.ru Git - kernel.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>
Mon, 6 Jan 2014 09:13:26 +0000 (09:13 +0000)
commitc2a5fe1377c1b42de54dd40f1de9add03ed16e0d
treec77901c57a6e3cf3c9227685a065fd4b57d21449
parent27aa71de5238e5cdf2824859e34b95ec06e99b4b
mfd: toshiba: Constify struct mfd_cell where possible

As of commit 82e54b28ae65f7fd69bfc21ae3eea8715998fadc ("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