drivers: treewide: Kill empty remove() implementations
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
e2fa0cca06
commit
8d5f1bdc9a
|
@ -419,15 +419,9 @@ static int ar231x_eth_probe(struct device_d *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ar231x_eth_remove(struct device_d *dev)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct driver_d ar231x_eth_driver = {
|
static struct driver_d ar231x_eth_driver = {
|
||||||
.name = "ar231x_eth",
|
.name = "ar231x_eth",
|
||||||
.probe = ar231x_eth_probe,
|
.probe = ar231x_eth_probe,
|
||||||
.remove = ar231x_eth_remove,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int ar231x_eth_driver_init(void)
|
static int ar231x_eth_driver_init(void)
|
||||||
|
|
|
@ -357,13 +357,8 @@ static int at91_ether_probe(struct device_d *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void at91_ether_remove(struct device_d *dev)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct driver_d at91_ether_driver = {
|
static struct driver_d at91_ether_driver = {
|
||||||
.name = "at91_ether",
|
.name = "at91_ether",
|
||||||
.probe = at91_ether_probe,
|
.probe = at91_ether_probe,
|
||||||
.remove = at91_ether_remove,
|
|
||||||
};
|
};
|
||||||
device_platform_driver(at91_ether_driver);
|
device_platform_driver(at91_ether_driver);
|
||||||
|
|
|
@ -477,10 +477,6 @@ static int dwc_ether_probe(struct device_d *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dwc_ether_remove(struct device_d *dev)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static __maybe_unused struct of_device_id dwc_ether_compatible[] = {
|
static __maybe_unused struct of_device_id dwc_ether_compatible[] = {
|
||||||
{
|
{
|
||||||
.compatible = "snps,dwmac-3.70a",
|
.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 = {
|
static struct driver_d dwc_ether_driver = {
|
||||||
.name = "designware_eth",
|
.name = "designware_eth",
|
||||||
.probe = dwc_ether_probe,
|
.probe = dwc_ether_probe,
|
||||||
.remove = dwc_ether_remove,
|
|
||||||
.of_compatible = DRV_OF_COMPAT(dwc_ether_compatible),
|
.of_compatible = DRV_OF_COMPAT(dwc_ether_compatible),
|
||||||
};
|
};
|
||||||
device_platform_driver(dwc_ether_driver);
|
device_platform_driver(dwc_ether_driver);
|
||||||
|
|
|
@ -1047,14 +1047,9 @@ static int imxfb_probe(struct device_d *dev)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void imxfb_remove(struct device_d *dev)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct driver_d imx3fb_driver = {
|
static struct driver_d imx3fb_driver = {
|
||||||
.name = "imx-ipu-fb",
|
.name = "imx-ipu-fb",
|
||||||
.probe = imxfb_probe,
|
.probe = imxfb_probe,
|
||||||
.remove = imxfb_remove,
|
|
||||||
};
|
};
|
||||||
device_platform_driver(imx3fb_driver);
|
device_platform_driver(imx3fb_driver);
|
||||||
|
|
||||||
|
|
|
@ -580,13 +580,8 @@ static int imxfb_probe(struct device_d *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void imxfb_remove(struct device_d *dev)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct driver_d imxfb_driver = {
|
static struct driver_d imxfb_driver = {
|
||||||
.name = "imxfb",
|
.name = "imxfb",
|
||||||
.probe = imxfb_probe,
|
.probe = imxfb_probe,
|
||||||
.remove = imxfb_remove,
|
|
||||||
};
|
};
|
||||||
device_platform_driver(imxfb_driver);
|
device_platform_driver(imxfb_driver);
|
||||||
|
|
|
@ -536,13 +536,8 @@ static int pxafb_probe(struct device_d *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pxafb_remove(struct device_d *dev)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct driver_d pxafb_driver = {
|
static struct driver_d pxafb_driver = {
|
||||||
.name = "pxafb",
|
.name = "pxafb",
|
||||||
.probe = pxafb_probe,
|
.probe = pxafb_probe,
|
||||||
.remove = pxafb_remove,
|
|
||||||
};
|
};
|
||||||
device_platform_driver(pxafb_driver);
|
device_platform_driver(pxafb_driver);
|
||||||
|
|
Loading…
Reference in New Issue