mfd: ti: Constify struct mfd_cell where possible

As of commit 03e361b25e ("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>
此提交包含在:
Geert Uytterhoeven
2013-11-18 14:33:02 +01:00
提交者 Lee Jones
父節點 5ac98553af
當前提交 30fe2b5bd5
共有 7 個檔案被更改,包括 7 行新增7 行删除

查看文件

@@ -44,7 +44,7 @@ static struct resource tps80031_rtc_resources[] = {
};
/* TPS80031 sub mfd devices */
static struct mfd_cell tps80031_cell[] = {
static const struct mfd_cell tps80031_cell[] = {
{
.name = "tps80031-pmic",
},