diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-08 12:38:43 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 21:02:21 +0200 |
commit | b7b6adf32c9c82b9f4a4b917ba204d5a9c6fd2da (patch) | |
tree | b67dcc4d8a4732534af3b170f379496ed7a3dcca /lib/cmpdi2.c | |
parent | 1f25cb289296338075ec0ed103d63cfb9418abb1 (diff) | |
download | linux-b7b6adf32c9c82b9f4a4b917ba204d5a9c6fd2da.tar.bz2 |
watchdog: intel-mid_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 'lib/cmpdi2.c')
0 files changed, 0 insertions, 0 deletions