summaryrefslogtreecommitdiff
path: root/drivers/watchdog/atlas7_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-08 22:38:27 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 22:02:14 +0300
commiteda21ee945069c78f2f9c888c88b2657869101a3 (patch)
treea045f7886b00ef9ac23b21653c350b5f50f691dd /drivers/watchdog/atlas7_wdt.c
parentf57df8352817d745dd472ea1ca1b78a1f824b0d9 (diff)
downloadlinux-eda21ee945069c78f2f9c888c88b2657869101a3.tar.xz
watchdog: aspeed_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 Cc: Joel Stanley <joel@jms.id.au> Cc: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/atlas7_wdt.c')
0 files changed, 0 insertions, 0 deletions