summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sbsa_gwdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-10 18:27:51 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:34 +0200
commit01022e3390498fffebfd67f4a813bfaadc66b741 (patch)
treeba60a5c93aced4a715c838f46e51397486ff04de /drivers/watchdog/sbsa_gwdt.c
parentwatchdog: xen_wdt: Use 'dev' instead of dereferencing it repeatedly (diff)
downloadlinux-01022e3390498fffebfd67f4a813bfaadc66b741.tar.xz
linux-01022e3390498fffebfd67f4a813bfaadc66b741.zip
watchdog: imx_sc_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: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP Linux Team <linux-imx@nxp.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/sbsa_gwdt.c')
0 files changed, 0 insertions, 0 deletions