mbox series

[0/3] drivers/watchdog: Constify static struct watchdog_ops

Message ID 20210727223042.48150-1-rikard.falkeborn@gmail.com (mailing list archive)
Headers show
Series drivers/watchdog: Constify static struct watchdog_ops | expand

Message

Rikard Falkeborn July 27, 2021, 10:30 p.m. UTC
Constify three instances of static struct watchdog_ops. These are only
assigned to the ops field in the watchdog_device struct, which is a
pointer to const struct watchdog_ops.

With these changes applied, all static watchdog_ops structs are const
(checked for next-20210727), 119 instances).

Rikard Falkeborn (3):
  watchdog: sl28cpld_wdt: Constify static struct watchdog_ops
  watchdog: tqmx86: Constify static struct watchdog_ops
  watchdog: mpc8xxx_wdt: Constify static struct watchdog_ops

 drivers/watchdog/mpc8xxx_wdt.c  | 2 +-
 drivers/watchdog/sl28cpld_wdt.c | 2 +-
 drivers/watchdog/tqmx86_wdt.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)