diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-17 16:47:01 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-24 15:45:36 +0200 |
commit | 5c6a25855cbd057f361c51d98b763eef28175b0b (patch) | |
tree | 552536c3f41fb5a4d0adeb3140ae6f98a399d2d4 /drivers/ssb/main.c | |
parent | rt2x00: convert rt2x00_eeprom_read return type (diff) | |
download | linux-5c6a25855cbd057f361c51d98b763eef28175b0b.tar.xz linux-5c6a25855cbd057f361c51d98b763eef28175b0b.zip |
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 <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