summaryrefslogtreecommitdiff
path: root/drivers/watchdog/imx_sc_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-10 09:27:50 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:33 +0200
commitb90abaace6d83f4bda79173e58b1f130428c0a46 (patch)
treed06844bd88ae77d70040ce1e35efaff31e397e90 /drivers/watchdog/imx_sc_wdt.c
parent30f57e0f22bb94e0226febde03a012db3cc328f1 (diff)
watchdog: xen_wdt: Use 'dev' instead of dereferencing it repeatedly
Introduce local variable 'struct device *dev' and use it instead of dereferencing it repeatedly. The conversion was done automatically with coccinelle using the following semantic patches. The semantic patches and the scripts used to generate this commit log are available at https://github.com/groeck/coccinelle-patches Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/imx_sc_wdt.c')
0 files changed, 0 insertions, 0 deletions