]> asedeno.scripts.mit.edu Git - linux.git/commit
watchdog: iTCO_wdt: constify iTCO_wdt_pm structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 28 Aug 2016 20:26:26 +0000 (22:26 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 24 Sep 2016 06:49:51 +0000 (08:49 +0200)
commit6e938f6e86a54ba22324a8e4f8c0fb774cffa273
treea6f86a17594637c47f4c0b938b260661a4e10c12
parenteadc4fe17d04723373ada219d382b3b413b21dad
watchdog: iTCO_wdt: constify iTCO_wdt_pm structure

iTCO_wdt_pm, of type struct dev_pm_ops, is never modified, so declare it as
const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/iTCO_wdt.c