summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/qcom-wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-09 19:23:49 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:26 +0200
commit9723a82a97df45c1e80730d554db4f45f0394c50 (patch)
treec031b4b3f1cc373f12c149e04dc44203a5bd71ad /drivers/watchdog/qcom-wdt.c
parentwatchdog: of_xilinx_wdt: Convert to use device managed functions and other im... (diff)
downloadlinux-9723a82a97df45c1e80730d554db4f45f0394c50.tar.xz
linux-9723a82a97df45c1e80730d554db4f45f0394c50.zip
watchdog: pm8916_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/qcom-wdt.c')
0 files changed, 0 insertions, 0 deletions