diff options
| author | Guenter Roeck <[email protected]> | 2019-04-09 10:24:00 -0700 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2019-05-05 21:02:29 +0200 |
| commit | 8ba41f6c4c88fa633ad4610f3bac6334a5420fe2 (patch) | |
| tree | 93130aa1bac857e6e2cf441e503fbaf72dbde547 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d07c4ad8b2f34326c748e583c1639a3cc3c87d09 (diff) | |
watchdog: sunxi_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: Maxime Ripard <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions