diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-17 17:47:02 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-24 16:45:37 +0300 |
commit | b9b238726716bed2ba2f3c1cd755e2e5340dc6ef (patch) | |
tree | a1442f4bc08dcc290c7c03872ecfe11110ed68f1 /drivers/nvmem | |
parent | 5c6a25855cbd057f361c51d98b763eef28175b0b (diff) | |
download | linux-b9b238726716bed2ba2f3c1cd755e2e5340dc6ef.tar.xz |
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/nvmem')
0 files changed, 0 insertions, 0 deletions