• A
    rt2x00: convert rt2*_bbp_read return type · 5fbbe378
    Arnd Bergmann 提交于
    This is a semi-automated conversion to change *_bbp_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:\(\<rt.*_bbp_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
        -i 's:\(\<rt.*_bbp_dcoc_read\>(.*, .*\), &\(.*\));:\2 = \1);:' \
        -i 's:= _\(rt.*_bbp_read\):\1:' drivers/net/wireless/ralink/rt2x00/*
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
    5fbbe378
rt2400pci.c 53.0 KB