]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: dialog: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:32:57 +0000 (14:32 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:25 +0000 (09:13 +0000)
commita636befc9210de6fdcbb801bab9ee567bb6cfd0e
tree6ac16ec32f5fb5cd9edf635e792285fa8e6ce577
parent4aa49fed39cd1418901ef97288263d5b134ac5ee
mfd: dialog: 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/da9052-core.c
drivers/mfd/da9055-core.c
drivers/mfd/da9063-core.c