ramips: clean up and refresh kernel patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48070
This commit is contained in:
Felix Fietkau
2016-01-02 14:48:27 +00:00
parent 140be9f1a5
commit c69ffda546
72 changed files with 241 additions and 1002 deletions

View File

@@ -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;