summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/mlx_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-09 19:23:43 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:24 +0200
commitdd1c66e22ecd1bec7eed72d8be280e5c8b269b79 (patch)
treecfe0340101e6b9b4ccac0bc4495676af5794d52e /drivers/watchdog/mlx_wdt.c
parentwatchdog: meson_gxbb_wdt: Convert to use device managed functions and other i... (diff)
downloadlinux-dd1c66e22ecd1bec7eed72d8be280e5c8b269b79.tar.xz
linux-dd1c66e22ecd1bec7eed72d8be280e5c8b269b79.zip
watchdog: meson_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: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions