summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-10 19:27:48 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 22:02:33 +0300
commitedaa35b5573c5fa5f01cd3f6fe3cb9a5e75f722f (patch)
tree4935ed27ec77c80f63ea48bac283ce1ac119aaef /tools/perf/scripts/python/export-to-postgresql.py
parentb1f4718218fbba1e0760fd961f8710460b810906 (diff)
downloadlinux-edaa35b5573c5fa5f01cd3f6fe3cb9a5e75f722f.tar.xz
watchdog: wdat_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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions