Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Minor conflict in r8169, bug fix had two versions in net and net-next, take the net-next hunks. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2775,6 +2775,7 @@ static int cpsw_probe(struct platform_device *pdev)
|
||||
if (!cpsw)
|
||||
return -ENOMEM;
|
||||
|
||||
platform_set_drvdata(pdev, cpsw);
|
||||
cpsw->dev = dev;
|
||||
|
||||
mode = devm_gpiod_get_array_optional(dev, "mode", GPIOD_OUT_LOW);
|
||||
@@ -2878,7 +2879,6 @@ static int cpsw_probe(struct platform_device *pdev)
|
||||
goto clean_cpts;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, cpsw);
|
||||
priv = netdev_priv(ndev);
|
||||
priv->cpsw = cpsw;
|
||||
priv->ndev = ndev;
|
||||
|
Reference in New Issue
Block a user