Commit 1119ea80 authored by Jakub Kicinski's avatar Jakub Kicinski

Merge branch 'net-dsa-hellcreek-minor-cleanups'

Kurt Kanzenbach says:

====================
net: dsa: hellcreek: Minor cleanups

fix two minor issues in the hellcreek driver.
====================

Link: https://lore.kernel.org/r/20201121114455.22422-1-kurt@linutronix.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 2fc9e684 ed5ef9fb
...@@ -1266,7 +1266,7 @@ static int hellcreek_probe(struct platform_device *pdev) ...@@ -1266,7 +1266,7 @@ static int hellcreek_probe(struct platform_device *pdev)
ret = dsa_register_switch(hellcreek->ds); ret = dsa_register_switch(hellcreek->ds);
if (ret) { if (ret) {
dev_err(dev, "Unable to register switch\n"); dev_err_probe(dev, ret, "Unable to register switch\n");
return ret; return ret;
} }
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
* Based on tag_ksz.c. * Based on tag_ksz.c.
*/ */
#include <linux/etherdevice.h> #include <linux/skbuff.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <net/dsa.h> #include <net/dsa.h>
#include "dsa_priv.h" #include "dsa_priv.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment