diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-05-17 16:46:59 +0200 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-24 16:45:35 +0300 |
| commit | 5fbbe378890fd543a9374ec0f86c9cba6d700712 (patch) | |
| tree | 9b994b6ced92d98492ef1b6d9ca5e1fd9af73145 /tools/perf/scripts/python/netdev-times.py | |
| parent | rt2x00: convert rt2800_register_read return type (diff) | |
| download | linux-5fbbe378890fd543a9374ec0f86c9cba6d700712.tar.gz linux-5fbbe378890fd543a9374ec0f86c9cba6d700712.zip | |
rt2x00: convert rt2*_bbp_read return type
This is a semi-automated conversion to change *_bbp_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:\(\<rt.*_bbp_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
-i 's:\(\<rt.*_bbp_dcoc_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
-i 's:= _\(rt.*_bbp_read\):\1:' drivers/net/wireless/ralink/rt2x00/*
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
