diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-17 16:47:02 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-24 15:45:37 +0200 |
commit | b9b238726716bed2ba2f3c1cd755e2e5340dc6ef (patch) | |
tree | a1442f4bc08dcc290c7c03872ecfe11110ed68f1 /drivers/ssb | |
parent | rt2x00: convert rt2800_eeprom_read return type (diff) | |
download | linux-b9b238726716bed2ba2f3c1cd755e2e5340dc6ef.tar.xz linux-b9b238726716bed2ba2f3c1cd755e2e5340dc6ef.zip |
rt2x00: convert rt2x00_desc_read return type
This is a semi-automated conversion to change rt2x00_desc_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_desc_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
-i 's:\(\<_rt2x00_desc_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
drivers/net/wireless/ralink/rt2x00/rt*
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions