summaryrefslogtreecommitdiff
path: root/drivers/watchdog/kempld_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-08 22:38:43 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 22:02:21 +0300
commitb7b6adf32c9c82b9f4a4b917ba204d5a9c6fd2da (patch)
treeb67dcc4d8a4732534af3b170f379496ed7a3dcca /drivers/watchdog/kempld_wdt.c
parent1f25cb289296338075ec0ed103d63cfb9418abb1 (diff)
downloadlinux-b7b6adf32c9c82b9f4a4b917ba204d5a9c6fd2da.tar.xz
watchdog: intel-mid_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/kempld_wdt.c')
0 files changed, 0 insertions, 0 deletions