diff options
| author | Arnd Bergmann <[email protected]> | 2017-05-17 16:47:01 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-05-24 16:45:36 +0300 |
| commit | 5c6a25855cbd057f361c51d98b763eef28175b0b (patch) | |
| tree | 552536c3f41fb5a4d0adeb3140ae6f98a399d2d4 /tools/perf/scripts/python | |
| parent | 38651683aa98399f2e08e7978b8df0a707051887 (diff) | |
rt2x00: convert rt2800_eeprom_read return type
This is a semi-automated conversion to change rt2800_eeprom_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_eeprom_read\(_from_array\|\)\>(.*, .*\), &\(.*\));:\3 = \1);:'
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
Some manual tweaking was required here to work around the line wraps.
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