ath79: remove platform_device_id from drivers
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run

This was needed while ar71xx was in tree. This is no longer the case.
Not only that, these have already been converted to OF.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18860
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen Penev 2025-05-17 18:44:05 -07:00 committed by Robert Marko
parent 769e9efd67
commit 15078ecb68
2 changed files with 0 additions and 14 deletions

View file

@ -141,15 +141,8 @@ static int rb4xx_gpio_probe(struct platform_device *pdev)
return devm_gpiochip_add_data(&pdev->dev, &gpio->chip, gpio);
}
static const struct platform_device_id rb4xx_gpio_id_table[] = {
{ "mikrotik,rb4xx-gpio", },
{ },
};
MODULE_DEVICE_TABLE(platform, rb4xx_gpio_id_table);
static struct platform_driver rb4xx_gpio_driver = {
.probe = rb4xx_gpio_probe,
.id_table = rb4xx_gpio_id_table,
.driver = {
.name = "rb4xx-gpio",
},

View file

@ -222,16 +222,9 @@ static void rb4xx_nand_remove(struct platform_device *pdev)
nand_cleanup(&nand->chip);
}
static const struct platform_device_id rb4xx_nand_id_table[] = {
{ "mikrotik,rb4xx-nand", },
{ },
};
MODULE_DEVICE_TABLE(platform, rb4xx_nand_id_table);
static struct platform_driver rb4xx_nand_driver = {
.probe = rb4xx_nand_probe,
.remove_new = rb4xx_nand_remove,
.id_table = rb4xx_nand_id_table,
.driver = {
.name = "rb4xx-nand",
},