• Joe Perches's avatar
    drivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level> · 0dc7d2b3
    Joe Perches authored
    I'm not sure this is correct.
    
    It changes logging macros from:
    	dev_<level>(&ks->spidev->dev,
    to
    	netdev_<level>(ks->netdev,
    
    Comments?
    
    Use netdev_<level>
    Use netif_<level>
    Use pr_<level>
    Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
    Add missing line to message in ks8851_remove
    Change kmalloc/memset(,0) to kzalloc
    Remove ks_<level> macros
    Consolidation code into set_media_state
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0dc7d2b3
ks8851_mll.c 42.1 KB