From nobody Fri May 06 23:25:38 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 18E571AD2011; Fri, 6 May 2022 23:25:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kw6BC1Tpwz3Ffg; Fri, 6 May 2022 23:25:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ptn3zuIM4a9ivspvUEcNbiLV/PAuuE57o2b0dlT7Mqg=; b=jtRtDt5oaxaUnsnIjAR94Yzo4giu9F19GeLnog8Hn5UhIah+JQTRBw9gjZTh8Tqvm6rjLI LQXTw4IA0CJxxNXmE9YMGsRsENeIgQLSFYppk1ucncrOSKZBVpG3dHuUOaROV+c4fTCNhx 3ecZdabB5M+JS1VuMmYiux/gL0wq7n2d4DsE2HP61JKFozX9j5fz0iMlXVY2eiU61/ecrC mKu4k3mhanfxmLCdqij7uVzW5RHEboVi1OGgoutD5c2xriMT8S/IMZXNKa2vbPBVRcsoL5 DI00wVbrske6wJbO1nmapmbhRCKhOrqvgL0gP2oPf7FuTb8EC6u45xegS4DZWg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A2B7125403; Fri, 6 May 2022 23:25:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 246NPc33076145; Fri, 6 May 2022 23:25:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPcul076144; Fri, 6 May 2022 23:25:38 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:38 GMT Message-Id: <202205062325.246NPcul076144@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 90161e72eecd - main - acpi_support: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90161e72eecd463919898b4e9c1e29dbeabe139d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ptn3zuIM4a9ivspvUEcNbiLV/PAuuE57o2b0dlT7Mqg=; b=prjsh5pZGtqrU7fDq2ABq8Viwmi2Q+eGMaJ+64ps3L8mQZbRlDS9PNheyiCZLqyX6PPSah 5J0L3Tl8msZ2GGR23VsFbvEBBYVyvCsIvUEq31CWQMpd+PcPkB0+tAY+fbhGYEJo9mj27S iFrJCE2GlleRjSOqCz5b7osD+2ZHnUkCosbsVn9bAQe+uJnn2t85hvcwn24tXGiRQ7vgiD WK12sD29DnVPksOe04MNyJ3OlxIlPjE3VRDcpwO5p7YRQTxOSnzuHc3gMLj1ewCXXAsYM2 ozE2NGKxaxzYtGdf+P+4FiU9tBMF40tCHnJVCSvLrM04hY3I2na2cyG/sTET2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879539; a=rsa-sha256; cv=none; b=e0cj6cNhjXnffGfViPWt1aVFB2yq3e4c8ZfoK7hcnOB9dvwB+c+JV3IGr1SFHf8zwtJzAZ 5xCuAvetMlwWNMPOV9M3jqQU93URX0pV3br2FVnuA6VwxmL57hWFmS4D7+2GRI27HWJNIJ 7g59cU0YCjFGdO1bDXq50UrWLWaHpuxkEAif9u8mUkfVN2lUBnDjf+oCuEGAJuc1as3I1y So5aFVH5ODaufufkDYQFuIpzpNC2ZKSfDu0/piQg7nbTmVnTfML2MJ8EwSVCA9kvHIvFFl 9qQNcckKYGARV0OOQg5bsdoX/W21GzAYqElWeaBo1PPHh0/8VKx9SMcBQC80bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=90161e72eecd463919898b4e9c1e29dbeabe139d commit 90161e72eecd463919898b4e9c1e29dbeabe139d Author: John Baldwin AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin 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[] = {