summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-09 20:23:49 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 22:02:26 +0300
commit9723a82a97df45c1e80730d554db4f45f0394c50 (patch)
treec031b4b3f1cc373f12c149e04dc44203a5bd71ad /tools/perf/scripts/python
parent801cdffe68f3f2479e11e6704e3ac25fcb4b5a98 (diff)
downloadlinux-9723a82a97df45c1e80730d554db4f45f0394c50.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions