aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-08 12:38:27 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:14 +0200
commiteda21ee945069c78f2f9c888c88b2657869101a3 (patch)
treea045f7886b00ef9ac23b21653c350b5f50f691dd /tools/perf/scripts/python
parentwatchdog: asm9260_wdt: Convert to use device managed functions and other impr... (diff)
downloadlinux-eda21ee945069c78f2f9c888c88b2657869101a3.tar.gz
linux-eda21ee945069c78f2f9c888c88b2657869101a3.zip
watchdog: aspeed_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: Joel Stanley <joel@jms.id.au> Cc: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions