]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: bgmac: change bgmac_* prints to dev_* prints
authorJon Mason <jon.mason@broadcom.com>
Thu, 7 Jul 2016 23:08:53 +0000 (19:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 22:10:40 +0000 (18:10 -0400)
commit73dbb00ff468b4151b3c63ee87b41fc3efa0874e
treee0ecb0467fd9d528fff06659224d84569d644644
parent7e92702ba244d0374e864519cd383887216b4838
net: ethernet: bgmac: change bgmac_* prints to dev_* prints

The bgmac_* print wrappers call dev_* prints with the dev pointer from
the bcma core.  In anticipation of removing the bcma requirement for
this driver, these must be changed to not reference that struct.  So,
simply change all of the bgmac_* prints to their dev_* counterparts.  In
some cases netdev_* prints are more appropriate, so change those as
well.

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h