Tag: c4c23f58a96dcce177c996511363b85bf114ae8f

rtc: rtc-ds2404: constify ds2404_chip_ops structures

Author: Julia Lawall <julia.lawall@lip6.fr> The ds2404_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: Alexandre Belloni — drivers/rtc/rtc-ds2404.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/rtc/rtc-ds2404.c b/drivers/rtc/rtc-ds2404.c index 7885edd..16310fe 100644 — a/drivers/rtc/rtc-ds2404.c +++ b/drivers/rtc/rtc-ds2404.c @@ -48,7 +48,7 @@ …

Continue reading