rtc: rtc-ds2404: constify ds2404_chip_ops structures
authorJulia Lawall <julia.lawall@lip6.fr>
Wed, 30 Dec 2015 20:59:34 +0000 (21:59 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 11 Jan 2016 19:22:27 +0000 (20:22 +0100)
commitc4c23f58a96dcce177c996511363b85bf114ae8f
tree2f250398e928ac0799e52eb9a77b824fa3a8c0a7
parent8ae83b6f76fc74eb6535b9d331a3310a59c32f84
rtc: rtc-ds2404: constify ds2404_chip_ops structures

The ds2404_chip_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds2404.c
This page took 0.039849 seconds and 5 git commands to generate.