• J
    drivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level> · 0dc7d2b3
    Joe Perches 提交于
    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: NDavid S. Miller <davem@davemloft.net>
    0dc7d2b3
ks8842.c 18.1 KB