Tag: f83e7d814084d9e982a8e24311a402e811d0ee90

mfd: da903x: Constify da903x_chip_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The da903x_chip_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Lee Jones — drivers/mfd/da903x.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c index 37e4426..f6a0459 100644 — a/drivers/mfd/da903x.c +++ b/drivers/mfd/da903x.c @@ -60,7 +60,7 @@ …

Continue reading