aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-17 16:46:58 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-05-24 16:45:35 +0300
commiteebd68e7824bae9c6ee637f43d3048f8d459dc1e (patch)
tree60bf9f5240f35257fda753f2a71a897502d0951f /tools/perf/scripts/python/netdev-times.py
parentrt2x00: convert rt2x00usb_register_read return type (diff)
downloadlinux-eebd68e7824bae9c6ee637f43d3048f8d459dc1e.tar.gz
linux-eebd68e7824bae9c6ee637f43d3048f8d459dc1e.zip
rt2x00: convert rt2800_register_read return type
This is a semi-automated conversion to change rt2800_register_read to return the register contents instead of passing them by value, resulting in much better object code. The majority of the patch was done using: sed -i 's:\(rt2800_register_read(.*, .*\), &\(.*\));:\2 = \1);:' \ 's:\(rt2800_register_read_lock(.*, .*\), &\(.*\));:\2 = \1);:' \ drivers/net/wireless/ralink/rt2x00/rt2800lib.c The function itself was modified manually along with the one remaining multi-line caller that was not covered automatically and the indirect reference. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions