summaryrefslogtreecommitdiff
path: root/drivers/ssb/main.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-17 16:47:02 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-05-24 16:45:37 +0300
commitb9b238726716bed2ba2f3c1cd755e2e5340dc6ef (patch)
treea1442f4bc08dcc290c7c03872ecfe11110ed68f1 /drivers/ssb/main.c
parent5c6a25855cbd057f361c51d98b763eef28175b0b (diff)
downloadlinux-rpi-b9b238726716bed2ba2f3c1cd755e2e5340dc6ef.tar.gz
linux-rpi-b9b238726716bed2ba2f3c1cd755e2e5340dc6ef.tar.bz2
linux-rpi-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/main.c')
0 files changed, 0 insertions, 0 deletions