aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2019-04-08 12:38:27 -0700
committerWim Van Sebroeck <[email protected]>2019-05-05 21:02:14 +0200
commiteda21ee945069c78f2f9c888c88b2657869101a3 (patch)
treea045f7886b00ef9ac23b21653c350b5f50f691dd /tools/perf/scripts/python/stackcollapse.py
parentf57df8352817d745dd472ea1ca1b78a1f824b0d9 (diff)
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 <[email protected]> Cc: Andrew Jeffery <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions