diff options
| author | Arnd Bergmann <[email protected]> | 2017-05-17 16:46:55 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-05-24 16:45:33 +0300 |
| commit | aea8baa10ac5e9acddf80e48593fe85c22d19286 (patch) | |
| tree | 6696ea56a254f61e211a5dbeb3746268dc30b91c /tools/perf/scripts/python | |
| parent | 16d571bb0fe6aa7fed82e19166ca1542026c9c06 (diff) | |
rt2x00: convert rt2x00_rf_read return type
This is a semi-automated conversion to change rt2x00_rf_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:\(\<rt2x00_rf_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
drivers/net/wireless/ralink/rt2x00/rt*
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions