git: 90161e72eecd - main - acpi_support: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 May 2022 23:25:38 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=90161e72eecd463919898b4e9c1e29dbeabe139d

commit 90161e72eecd463919898b4e9c1e29dbeabe139d
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:59 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:59 +0000

    acpi_support: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/acpi_support/acpi_asus.c       | 4 +---
 sys/dev/acpi_support/acpi_asus_wmi.c   | 5 +----
 sys/dev/acpi_support/acpi_fujitsu.c    | 4 +---
 sys/dev/acpi_support/acpi_hp.c         | 5 +----
 sys/dev/acpi_support/acpi_ibm.c        | 4 +---
 sys/dev/acpi_support/acpi_panasonic.c  | 5 +----
 sys/dev/acpi_support/acpi_rapidstart.c | 5 +----
 sys/dev/acpi_support/acpi_sony.c       | 5 +----
 sys/dev/acpi_support/acpi_toshiba.c    | 8 ++------
 sys/dev/acpi_support/acpi_wmi.c        | 3 +--
 sys/dev/acpi_support/atk0110.c         | 4 +---
 11 files changed, 12 insertions(+), 40 deletions(-)

diff --git a/sys/dev/acpi_support/acpi_asus.c b/sys/dev/acpi_support/acpi_asus.c
index 4f7ebdcf3c8c..52b8afa202e2 100644
--- a/sys/dev/acpi_support/acpi_asus.c
+++ b/sys/dev/acpi_support/acpi_asus.c
@@ -529,9 +529,7 @@ static driver_t acpi_asus_driver = {
 	sizeof(struct acpi_asus_softc)
 };
 
-static devclass_t acpi_asus_devclass;
-
-DRIVER_MODULE(acpi_asus, acpi, acpi_asus_driver, acpi_asus_devclass, 0, 0);
+DRIVER_MODULE(acpi_asus, acpi, acpi_asus_driver, 0, 0);
 MODULE_DEPEND(acpi_asus, acpi, 1, 1, 1);
 
 static int
diff --git a/sys/dev/acpi_support/acpi_asus_wmi.c b/sys/dev/acpi_support/acpi_asus_wmi.c
index b675bb3a7ffb..a3b6562382c6 100644
--- a/sys/dev/acpi_support/acpi_asus_wmi.c
+++ b/sys/dev/acpi_support/acpi_asus_wmi.c
@@ -289,10 +289,7 @@ static driver_t	acpi_asus_wmi_driver = {
 	sizeof(struct acpi_asus_wmi_softc),
 };
 
-static devclass_t acpi_asus_wmi_devclass;
-
-DRIVER_MODULE(acpi_asus_wmi, acpi_wmi, acpi_asus_wmi_driver,
-    acpi_asus_wmi_devclass, 0, 0);
+DRIVER_MODULE(acpi_asus_wmi, acpi_wmi, acpi_asus_wmi_driver, 0, 0);
 MODULE_DEPEND(acpi_asus_wmi, acpi_wmi, 1, 1, 1);
 MODULE_DEPEND(acpi_asus_wmi, acpi, 1, 1, 1);
 
diff --git a/sys/dev/acpi_support/acpi_fujitsu.c b/sys/dev/acpi_support/acpi_fujitsu.c
index 8d0f2c5a8d27..449e9e9799c3 100644
--- a/sys/dev/acpi_support/acpi_fujitsu.c
+++ b/sys/dev/acpi_support/acpi_fujitsu.c
@@ -216,9 +216,7 @@ static struct {
 	{ NULL, 0, NULL }
 };
 
-static devclass_t acpi_fujitsu_devclass;
-DRIVER_MODULE(acpi_fujitsu, acpi, acpi_fujitsu_driver,
-    acpi_fujitsu_devclass, 0, 0);
+DRIVER_MODULE(acpi_fujitsu, acpi, acpi_fujitsu_driver, 0, 0);
 MODULE_DEPEND(acpi_fujitsu, acpi, 1, 1, 1);
 MODULE_VERSION(acpi_fujitsu, 1);
 
diff --git a/sys/dev/acpi_support/acpi_hp.c b/sys/dev/acpi_support/acpi_hp.c
index d22c9844638e..7e3e8a44001d 100644
--- a/sys/dev/acpi_support/acpi_hp.c
+++ b/sys/dev/acpi_support/acpi_hp.c
@@ -349,10 +349,7 @@ static driver_t	acpi_hp_driver = {
 	sizeof(struct acpi_hp_softc),
 };
 
-static devclass_t acpi_hp_devclass;
-
-DRIVER_MODULE(acpi_hp, acpi_wmi, acpi_hp_driver, acpi_hp_devclass,
-		0, 0);
+DRIVER_MODULE(acpi_hp, acpi_wmi, acpi_hp_driver, 0, 0);
 MODULE_DEPEND(acpi_hp, acpi_wmi, 1, 1, 1);
 MODULE_DEPEND(acpi_hp, acpi, 1, 1, 1);
 
diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c
index 84b17dbe9bdd..22a436757b8a 100644
--- a/sys/dev/acpi_support/acpi_ibm.c
+++ b/sys/dev/acpi_support/acpi_ibm.c
@@ -363,9 +363,7 @@ static driver_t	acpi_ibm_driver = {
 	sizeof(struct acpi_ibm_softc),
 };
 
-static devclass_t acpi_ibm_devclass;
-
-DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, acpi_ibm_devclass, 0, 0);
+DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, 0, 0);
 MODULE_DEPEND(acpi_ibm, acpi, 1, 1, 1);
 static char    *ibm_ids[] = {"IBM0068", "LEN0068", "LEN0268", NULL};
 
diff --git a/sys/dev/acpi_support/acpi_panasonic.c b/sys/dev/acpi_support/acpi_panasonic.c
index 9c32ab9fad21..b24846a87ea6 100644
--- a/sys/dev/acpi_support/acpi_panasonic.c
+++ b/sys/dev/acpi_support/acpi_panasonic.c
@@ -128,10 +128,7 @@ static driver_t acpi_panasonic_driver = {
 	sizeof(struct acpi_panasonic_softc),
 };
 
-static devclass_t acpi_panasonic_devclass;
-
-DRIVER_MODULE(acpi_panasonic, acpi, acpi_panasonic_driver,
-    acpi_panasonic_devclass, 0, 0);
+DRIVER_MODULE(acpi_panasonic, acpi, acpi_panasonic_driver, 0, 0);
 MODULE_DEPEND(acpi_panasonic, acpi, 1, 1, 1);
 
 static int
diff --git a/sys/dev/acpi_support/acpi_rapidstart.c b/sys/dev/acpi_support/acpi_rapidstart.c
index eb47f347785f..57afddbe681e 100644
--- a/sys/dev/acpi_support/acpi_rapidstart.c
+++ b/sys/dev/acpi_support/acpi_rapidstart.c
@@ -135,8 +135,5 @@ static driver_t	acpi_rapidstart_driver = {
 	sizeof(struct acpi_rapidstart_softc),
 };
 
-static devclass_t acpi_rapidstart_devclass;
-
-DRIVER_MODULE(acpi_rapidstart, acpi, acpi_rapidstart_driver, acpi_rapidstart_devclass,
-	      0, 0);
+DRIVER_MODULE(acpi_rapidstart, acpi, acpi_rapidstart_driver, 0, 0);
 MODULE_DEPEND(acpi_rapidstart, acpi, 1, 1, 1);
diff --git a/sys/dev/acpi_support/acpi_sony.c b/sys/dev/acpi_support/acpi_sony.c
index 724f04a36301..494d879c0452 100644
--- a/sys/dev/acpi_support/acpi_sony.c
+++ b/sys/dev/acpi_support/acpi_sony.c
@@ -104,10 +104,7 @@ static driver_t	acpi_sony_driver = {
 	sizeof(struct acpi_sony_softc),
 };
 
-static devclass_t acpi_sony_devclass;
-
-DRIVER_MODULE(acpi_sony, acpi, acpi_sony_driver, acpi_sony_devclass,
-	      0, 0);
+DRIVER_MODULE(acpi_sony, acpi, acpi_sony_driver, 0, 0);
 MODULE_DEPEND(acpi_sony, acpi, 1, 1, 1);
 static char    *sny_id[] = {"SNY5001", NULL};
 
diff --git a/sys/dev/acpi_support/acpi_toshiba.c b/sys/dev/acpi_support/acpi_toshiba.c
index 208cc36c9a59..0b998bcdb003 100644
--- a/sys/dev/acpi_support/acpi_toshiba.c
+++ b/sys/dev/acpi_support/acpi_toshiba.c
@@ -181,9 +181,7 @@ static driver_t acpi_toshiba_driver = {
 	sizeof(struct acpi_toshiba_softc),
 };
 
-static devclass_t acpi_toshiba_devclass;
-DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, acpi_toshiba_devclass,
-    0, 0);
+DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, 0, 0);
 MODULE_DEPEND(acpi_toshiba, acpi, 1, 1, 1);
 
 static device_method_t acpi_toshiba_video_methods[] = {
@@ -199,9 +197,7 @@ static driver_t acpi_toshiba_video_driver = {
 	0,
 };
 
-static devclass_t acpi_toshiba_video_devclass;
-DRIVER_MODULE(acpi_toshiba_video, acpi, acpi_toshiba_video_driver,
-    acpi_toshiba_video_devclass, 0, 0);
+DRIVER_MODULE(acpi_toshiba_video, acpi, acpi_toshiba_video_driver, 0, 0);
 MODULE_DEPEND(acpi_toshiba_video, acpi, 1, 1, 1);
 
 static int	enable_fn_keys = 1;
diff --git a/sys/dev/acpi_support/acpi_wmi.c b/sys/dev/acpi_support/acpi_wmi.c
index efae96cdcc9a..31a7e2f155df 100644
--- a/sys/dev/acpi_support/acpi_wmi.c
+++ b/sys/dev/acpi_support/acpi_wmi.c
@@ -196,8 +196,7 @@ static driver_t acpi_wmi_driver = {
 	sizeof(struct acpi_wmi_softc),
 };
 
-static devclass_t acpi_wmi_devclass;
-DRIVER_MODULE(acpi_wmi, acpi, acpi_wmi_driver, acpi_wmi_devclass, 0, 0);
+DRIVER_MODULE(acpi_wmi, acpi, acpi_wmi_driver, 0, 0);
 MODULE_VERSION(acpi_wmi, 1);
 MODULE_DEPEND(acpi_wmi, acpi, 1, 1, 1);
 static char *wmi_ids[] = {"PNP0C14", NULL};
diff --git a/sys/dev/acpi_support/atk0110.c b/sys/dev/acpi_support/atk0110.c
index 3aac45624089..ea102f1d2c45 100644
--- a/sys/dev/acpi_support/atk0110.c
+++ b/sys/dev/acpi_support/atk0110.c
@@ -109,9 +109,7 @@ static driver_t aibs_driver = {
 	sizeof(struct aibs_softc)
 };
 
-static devclass_t aibs_devclass;
-
-DRIVER_MODULE(aibs, acpi, aibs_driver, aibs_devclass, NULL, NULL);
+DRIVER_MODULE(aibs, acpi, aibs_driver, NULL, NULL);
 MODULE_DEPEND(aibs, acpi, 1, 1, 1);
 
 static char* aibs_hids[] = {