summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/rtd119x_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-09 10:23:51 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:26 +0200
commitcc71859708e84f0ede91b46a1c3abe1cd5510828 (patch)
tree3d4693d0c78b1c6083f0a4224c33b7c55d75286b /drivers/watchdog/rtd119x_wdt.c
parentbba07e6ed72e98b7ee5a9c6d5a90ff786080d1f4 (diff)
downloadblackbird-op-linux-cc71859708e84f0ede91b46a1c3abe1cd5510828.tar.gz
blackbird-op-linux-cc71859708e84f0ede91b46a1c3abe1cd5510828.zip
watchdog: rn5t618_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/rtd119x_wdt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud