mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-05 20:24:09 +08:00
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.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
1119ea8019
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user