ramips: clean up and refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48070
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <linux/switch.h>
|
||||
|
||||
@@ -1332,7 +1333,6 @@
|
||||
@@ -1332,7 +1333,6 @@ static int esw_probe(struct platform_dev
|
||||
const __be32 *port_map, *reg_init;
|
||||
struct switch_dev *swdev;
|
||||
struct rt305x_esw *esw;
|
||||
@@ -16,7 +16,7 @@
|
||||
int ret;
|
||||
|
||||
esw = devm_kzalloc(&pdev->dev, sizeof(*esw), GFP_KERNEL);
|
||||
@@ -1340,7 +1340,7 @@
|
||||
@@ -1340,7 +1340,7 @@ static int esw_probe(struct platform_dev
|
||||
return -ENOMEM;
|
||||
|
||||
esw->dev = &pdev->dev;
|
||||
@@ -25,7 +25,7 @@
|
||||
esw->base = devm_ioremap_resource(&pdev->dev, res);
|
||||
if (!esw->base)
|
||||
return -EADDRNOTAVAIL;
|
||||
@@ -1365,7 +1365,7 @@
|
||||
@@ -1365,7 +1365,7 @@ static int esw_probe(struct platform_dev
|
||||
ret = register_switch(swdev, NULL);
|
||||
if (ret < 0) {
|
||||
dev_err(&pdev->dev, "register_switch failed\n");
|
||||
@@ -34,7 +34,7 @@
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, esw);
|
||||
@@ -1383,11 +1383,6 @@
|
||||
@@ -1383,11 +1383,6 @@ static int esw_probe(struct platform_dev
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user