• Joe Perches's avatar
    rt2x00: Use more current logging styles, shrink object size · ec9c4989
    Joe Perches authored
    Reduce object space ~2% using more current logging styles.
    
    Neaten and simplify logging macros.
    Use wiphy_<level> where appropriate.
    Coalesce formats.
    
    Convert ERROR/WARNING/INFO macros to rt2x00_<level>
    Convert EEPROM to rt2x00_eeprom_dbg
    Convert PROBE_ERROR to rt2x00_probe_err
    Convert DEBUG to rt2x00_dbg
    Convert EEPROM to rt2x00_eeprom_dbg
    
    $ size drivers/net/wireless/rt2x00/built-in.o*
       text	   data	    bss	    dec	    hex	filename
     245639	  71696	  69584	 386919	  5e767	drivers/net/wireless/rt2x00/built-in.o.new
     240609	  70096	  68944	 379649	  5cb01	drivers/net/wireless/rt2x00/built-in.o.new.nodyndbg
     240609	  70096	  68944	 379649	  5cb01	drivers/net/wireless/rt2x00/built-in.o.new.no_rt2x00_debug
     249198	  70096	  70352	 389646	  5f20e	drivers/net/wireless/rt2x00/built-in.o.old
     249198	  70096	  70352	 389646	  5f20e	drivers/net/wireless/rt2x00/built-in.o.old.nodyndbg
     244222	  70096	  69712	 384030	  5dc1e	drivers/net/wireless/rt2x00/built-in.o.old.no_rt2x00_debug
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    ec9c4989
rt61pci.c 94.2 KB