diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-08 22:38:27 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:02:14 +0300 |
commit | eda21ee945069c78f2f9c888c88b2657869101a3 (patch) | |
tree | a045f7886b00ef9ac23b21653c350b5f50f691dd /drivers/watchdog/atlas7_wdt.c | |
parent | f57df8352817d745dd472ea1ca1b78a1f824b0d9 (diff) | |
download | linux-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