summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-22 12:03:38 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-02 07:55:26 +0200
commit8d5f1bdc9a75aa02abf73c77c97e5cf72bec7e21 (patch)
treea893a1ea139f968c1b4e8a1ab04412f23c8617bf
parente2fa0cca06de8612ec96b3a595c856ab6dd1eaa1 (diff)
downloadbarebox-8d5f1bdc9a75aa02abf73c77c97e5cf72bec7e21.tar.gz
barebox-8d5f1bdc9a75aa02abf73c77c97e5cf72bec7e21.tar.xz
drivers: treewide: Kill empty remove() implementations
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/net/ar231x.c6
-rw-r--r--drivers/net/at91_ether.c5
-rw-r--r--drivers/net/designware.c5
-rw-r--r--drivers/video/imx-ipu-fb.c5
-rw-r--r--drivers/video/imx.c5
-rw-r--r--drivers/video/pxa.c5
6 files changed, 0 insertions, 31 deletions
diff --git a/drivers/net/ar231x.c b/drivers/net/ar231x.c
index 5c091140ac..515de17b10 100644
--- a/drivers/net/ar231x.c
+++ b/drivers/net/ar231x.c
@@ -419,15 +419,9 @@ static int ar231x_eth_probe(struct device_d *dev)
return 0;
}
-static void ar231x_eth_remove(struct device_d *dev)
-{
-
-}
-
static struct driver_d ar231x_eth_driver = {
.name = "ar231x_eth",
.probe = ar231x_eth_probe,
- .remove = ar231x_eth_remove,
};
static int ar231x_eth_driver_init(void)
diff --git a/drivers/net/at91_ether.c b/drivers/net/at91_ether.c
index 25924cf7e2..bf2f957a36 100644
--- a/drivers/net/at91_ether.c
+++ b/drivers/net/at91_ether.c
@@ -357,13 +357,8 @@ static int at91_ether_probe(struct device_d *dev)
return 0;
}
-static void at91_ether_remove(struct device_d *dev)
-{
-}
-
static struct driver_d at91_ether_driver = {
.name = "at91_ether",
.probe = at91_ether_probe,
- .remove = at91_ether_remove,
};
device_platform_driver(at91_ether_driver);
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index ecb4656e9d..e706f54b31 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -477,10 +477,6 @@ static int dwc_ether_probe(struct device_d *dev)
return 0;
}
-static void dwc_ether_remove(struct device_d *dev)
-{
-}
-
static __maybe_unused struct of_device_id dwc_ether_compatible[] = {
{
.compatible = "snps,dwmac-3.70a",
@@ -493,7 +489,6 @@ static __maybe_unused struct of_device_id dwc_ether_compatible[] = {
static struct driver_d dwc_ether_driver = {
.name = "designware_eth",
.probe = dwc_ether_probe,
- .remove = dwc_ether_remove,
.of_compatible = DRV_OF_COMPAT(dwc_ether_compatible),
};
device_platform_driver(dwc_ether_driver);
diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c
index 7276647382..cd74b03f70 100644
--- a/drivers/video/imx-ipu-fb.c
+++ b/drivers/video/imx-ipu-fb.c
@@ -1047,14 +1047,9 @@ static int imxfb_probe(struct device_d *dev)
return ret;
}
-static void imxfb_remove(struct device_d *dev)
-{
-}
-
static struct driver_d imx3fb_driver = {
.name = "imx-ipu-fb",
.probe = imxfb_probe,
- .remove = imxfb_remove,
};
device_platform_driver(imx3fb_driver);
diff --git a/drivers/video/imx.c b/drivers/video/imx.c
index 05c6105c7a..e4dcc35fd9 100644
--- a/drivers/video/imx.c
+++ b/drivers/video/imx.c
@@ -580,13 +580,8 @@ static int imxfb_probe(struct device_d *dev)
return 0;
}
-static void imxfb_remove(struct device_d *dev)
-{
-}
-
static struct driver_d imxfb_driver = {
.name = "imxfb",
.probe = imxfb_probe,
- .remove = imxfb_remove,
};
device_platform_driver(imxfb_driver);
diff --git a/drivers/video/pxa.c b/drivers/video/pxa.c
index 529190baec..b4ce3a1bf8 100644
--- a/drivers/video/pxa.c
+++ b/drivers/video/pxa.c
@@ -536,13 +536,8 @@ static int pxafb_probe(struct device_d *dev)
return 0;
}
-static void pxafb_remove(struct device_d *dev)
-{
-}
-
static struct driver_d pxafb_driver = {
.name = "pxafb",
.probe = pxafb_probe,
- .remove = pxafb_remove,
};
device_platform_driver(pxafb_driver);