summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/menf21bmc_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-10 18:27:59 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:36 +0200
commit6fef817e2d8101ceca45bf0ba371f98d60c7486f (patch)
treea3bb7dd6a20e94e8c665bf97f0e4e4c82cb83866 /drivers/watchdog/menf21bmc_wdt.c
parentwatchdog: loongson1_wdt: Convert to use device managed functions and other im... (diff)
downloadlinux-6fef817e2d8101ceca45bf0ba371f98d60c7486f.tar.xz
linux-6fef817e2d8101ceca45bf0ba371f98d60c7486f.zip
watchdog: mt7621_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: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/menf21bmc_wdt.c')
0 files changed, 0 insertions, 0 deletions