git: 395bee1285a2 - main - psci: Remove unused devclass arguments to DRIVER_MODULE.

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

URL: https://cgit.FreeBSD.org/src/commit/?id=395bee1285a2ed6aa6d23612b4cf9f1f7aa92001

commit 395bee1285a2ed6aa6d23612b4cf9f1f7aa92001
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:46 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:46 +0000

    psci: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/psci/psci.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys/dev/psci/psci.c b/sys/dev/psci/psci.c
index dd760d8e221a..db308a550d3a 100644
--- a/sys/dev/psci/psci.c
+++ b/sys/dev/psci/psci.c
@@ -178,11 +178,9 @@ static driver_t psci_fdt_driver = {
 	sizeof(struct psci_softc),
 };
 
-static devclass_t psci_fdt_devclass;
-
-EARLY_DRIVER_MODULE(psci, simplebus, psci_fdt_driver, psci_fdt_devclass, 0, 0,
+EARLY_DRIVER_MODULE(psci, simplebus, psci_fdt_driver, 0, 0,
     BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
-EARLY_DRIVER_MODULE(psci, ofwbus, psci_fdt_driver, psci_fdt_devclass, 0, 0,
+EARLY_DRIVER_MODULE(psci, ofwbus, psci_fdt_driver, 0, 0,
     BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
 
 static psci_callfn_t
@@ -254,9 +252,7 @@ static driver_t psci_acpi_driver = {
 	sizeof(struct psci_softc),
 };
 
-static devclass_t psci_acpi_devclass;
-
-EARLY_DRIVER_MODULE(psci, acpi, psci_acpi_driver, psci_acpi_devclass, 0, 0,
+EARLY_DRIVER_MODULE(psci, acpi, psci_acpi_driver, 0, 0,
     BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
 
 static int