]> 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)
commit564cd4d68e491d90283b3f1305a56617cec80b72
treee0ecb0467fd9d528fff06659224d84569d644644
parent915ccf278e03e367dc6f17db4f5911715b3abc98
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