rocker: use netdev_err after register_netdev

After successful register_netdev, we can use netdev_err rather the more
generic dev_err.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Scott Feldman 2015-08-03 22:31:18 -07:00 committed by David S. Miller
parent 6c4f7780a5
commit ff14702844
1 changed files with 1 additions and 1 deletions

View File

@ -4988,7 +4988,7 @@ static int rocker_probe_port(struct rocker *rocker, unsigned int port_number)
err = rocker_port_ig_tbl(rocker_port, SWITCHDEV_TRANS_NONE, 0);
if (err) {
dev_err(&pdev->dev, "install ig port table failed\n");
netdev_err(rocker_port->dev, "install ig port table failed\n");
goto err_port_ig_tbl;
}