提交 1119ea80 编写于 作者: J 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: NJakub Kicinski <kuba@kernel.org>
......@@ -1266,7 +1266,7 @@ static int hellcreek_probe(struct platform_device *pdev)
ret = dsa_register_switch(hellcreek->ds);
if (ret) {
dev_err(dev, "Unable to register switch\n");
dev_err_probe(dev, ret, "Unable to register switch\n");
return ret;
}
......
......@@ -8,9 +8,7 @@
* Based on tag_ksz.c.
*/
#include <linux/etherdevice.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <net/dsa.h>
#include "dsa_priv.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册