git: 75996aa1ec25 - main - arm altera: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 May 2022 21:47:45 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=75996aa1ec259e65f30d9656bdea191dc1143a87

commit 75996aa1ec259e65f30d9656bdea191dc1143a87
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:44 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:44 +0000

    arm altera: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/arm/altera/socfpga/socfpga_a10_manager.c | 5 +----
 sys/arm/altera/socfpga/socfpga_manager.c     | 4 +---
 sys/arm/altera/socfpga/socfpga_rstmgr.c      | 4 +---
 3 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/sys/arm/altera/socfpga/socfpga_a10_manager.c b/sys/arm/altera/socfpga/socfpga_a10_manager.c
index 8ccaa4b6b473..1038b8252c7c 100644
--- a/sys/arm/altera/socfpga/socfpga_a10_manager.c
+++ b/sys/arm/altera/socfpga/socfpga_a10_manager.c
@@ -437,7 +437,4 @@ static driver_t fpgamgr_a10_driver = {
 	sizeof(struct fpgamgr_a10_softc),
 };
 
-static devclass_t fpgamgr_a10_devclass;
-
-DRIVER_MODULE(fpgamgr_a10, simplebus, fpgamgr_a10_driver,
-    fpgamgr_a10_devclass, 0, 0);
+DRIVER_MODULE(fpgamgr_a10, simplebus, fpgamgr_a10_driver, 0, 0);
diff --git a/sys/arm/altera/socfpga/socfpga_manager.c b/sys/arm/altera/socfpga/socfpga_manager.c
index 9334c5547894..95a0d1321237 100644
--- a/sys/arm/altera/socfpga/socfpga_manager.c
+++ b/sys/arm/altera/socfpga/socfpga_manager.c
@@ -426,6 +426,4 @@ static driver_t fpgamgr_driver = {
 	sizeof(struct fpgamgr_softc),
 };
 
-static devclass_t fpgamgr_devclass;
-
-DRIVER_MODULE(fpgamgr, simplebus, fpgamgr_driver, fpgamgr_devclass, 0, 0);
+DRIVER_MODULE(fpgamgr, simplebus, fpgamgr_driver, 0, 0);
diff --git a/sys/arm/altera/socfpga/socfpga_rstmgr.c b/sys/arm/altera/socfpga/socfpga_rstmgr.c
index 0416de6691eb..7633fcdccae1 100644
--- a/sys/arm/altera/socfpga/socfpga_rstmgr.c
+++ b/sys/arm/altera/socfpga/socfpga_rstmgr.c
@@ -255,6 +255,4 @@ static driver_t rstmgr_driver = {
 	sizeof(struct rstmgr_softc),
 };
 
-static devclass_t rstmgr_devclass;
-
-DRIVER_MODULE(rstmgr, simplebus, rstmgr_driver, rstmgr_devclass, 0, 0);
+DRIVER_MODULE(rstmgr, simplebus, rstmgr_driver, 0, 0);