summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sunxi_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-09 10:23:59 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:29 +0200
commitd07c4ad8b2f34326c748e583c1639a3cc3c87d09 (patch)
tree8c4f7d11e21e178d2170d8cee2134c91822cc5fb /drivers/watchdog/sunxi_wdt.c
parent55082c0301d6d0cfe03fb597d67fbf3e6a8d2d81 (diff)
watchdog: stpmic1_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/sunxi_wdt.c')
0 files changed, 0 insertions, 0 deletions