summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-09 20:23:40 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 22:02:23 +0300
commit94ac20d831983faa7f2ecef570c5c84db596788b (patch)
tree1c9028a5617c76ef8d3e82c5f897a7d640e2dfe5 /tools/perf/scripts/python
parentb6e6bf4f9978f1799e8d2f257a2c7271606212cb (diff)
downloadlinux-94ac20d831983faa7f2ecef570c5c84db596788b.tar.xz
watchdog: mena21_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: Johannes Thumshirn <morbidrsa@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions