Tag: 7432a850b5139b24b9288416a2ae796e4da295d6

rtc: v3020: constify v3020_chip_ops structures

Author: Julia Lawall <julia.lawall@lip6.fr> The v3020_chip_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Alexandre Belloni — drivers/rtc/rtc-v3020.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index f9f9709..7a04363 100644 — a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c @@ -57,7 +57,7 @@ …

Continue reading