From nobody Mon May 09 19:22:29 2022 X-Original-To: dev-commits-src-main@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 5E82D1ABFEF7; Mon, 9 May 2022 19:22:29 +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 4KxrfF2Flkz3nVv; Mon, 9 May 2022 19:22:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124149; 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=fE5LhhmkThgAirIeZChuyUcfov258BnvJtflFQTbAM8=; b=wipMc8+e/atfEr7TCMivJeX+K5JEQSwLUISNXZ+nVQ3jqDC2AHvLA+7rBu3MjzQcD5fhlX TRYFDZT+ex+zWGk2WAIV1f9PyypRSPiMV7ypMI3USLBGYaf1+161GGSAHZq0LMi1uy9jU0 6KICdo1cRIzAg7VyI8A+HgOrEUjkyN9EXyjDuYruDLDKibXK5S5Y5jspnxClZfgbGjdWCz GNx3AJF1+SCCFaqHie7OwCqveFnZsFXiOjqFCxOwf1NtPRthFdEX5MTiOdKb5kcJe6t5n4 xbZ1BD8o8k37ekCFzGbMWHsIqsfIiFJ7HopgWEoNhzIbRE95b4t4CbdFUPYx4A== 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 2D78517089; Mon, 9 May 2022 19:22:29 +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 249JMT5b084918; Mon, 9 May 2022 19:22:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMTL8084917; Mon, 9 May 2022 19:22:29 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:29 GMT Message-Id: <202205091922.249JMTL8084917@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: 83a273efcee2 - main - dev/amd*: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 83a273efcee27f01b642e807a00feccb095a84ff Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124149; 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=fE5LhhmkThgAirIeZChuyUcfov258BnvJtflFQTbAM8=; b=TG9fT1xHUN8m4cPnW8W43GKOpq+u/m5kwiH1+W6jm2RNyDZLXZJe7+5o3BUhxWbSKWPXrg UmEAGsu3Y1B1OgBczNJ34u1lbEUaB2ENNj8OYg/1bRdXnL3a/3OUMne5UCG0jiUnvrDCCS PTPGq102glp9UtyMdb/nBcUYKVx8JTRrnZm7HePnxjCx9UaBSDY1LGlQ8RUkNpNcn4Hx9+ JXeH86QPTo2xubZxKKJKPtrJvcoatdhmPButxCeoWIC03jG8oehjNZlNMgkkJqx/7sNZdu XZHY7ye/CzpjwPsrjClzfZa7kll/HDBf4G8vAIAwiIdLNij+il8JPu+12d+0Vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124149; a=rsa-sha256; cv=none; b=qPwTWBTPdNd1fhHPaPQ3foNWQYlo0b7vRfCTGrCMy4zTqVmN5wubnLm7C2WoIBOPgLGF2f ZMo3O1rySJqPnCjG838QTbFzNAfaUgOQjBemKdK6PWUe16/jMWYwWfMTotBwJmdKVKMatU i+E515AG0IKrogud83vcpbTieJ5REp+KVRfDCk350ZcK5+B2DCVGcXkZ8Pmcyw4r6bMczt f8B/9JS63+u6gzxSz2VgZ8dpNrAPpA7o4+qNMPCgXuEp3DsrCzlSX28K+A8qNcSrSKE6b4 DQiFiMB41+hhfEjvzf5sXRaH8n+iKk7qZbfVr7wkVEfDImm7BjdIaL9JBM05Ww== 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=83a273efcee27f01b642e807a00feccb095a84ff commit 83a273efcee27f01b642e807a00feccb095a84ff Author: John Baldwin AuthorDate: 2022-05-09 19:22:00 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:00 +0000 dev/amd*: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/amdgpio/amdgpio.c | 3 +-- sys/dev/amdpm/amdpm.c | 4 +--- sys/dev/amdsbwd/amdsbwd.c | 3 +-- sys/dev/amdsmb/amdsmb.c | 4 +--- sys/dev/amdsmn/amdsmn.c | 3 +-- sys/dev/amdtemp/amdtemp.c | 3 +-- 6 files changed, 6 insertions(+), 14 deletions(-) diff --git a/sys/dev/amdgpio/amdgpio.c b/sys/dev/amdgpio/amdgpio.c index 0716f272c8f1..4a2eeb725982 100644 --- a/sys/dev/amdgpio/amdgpio.c +++ b/sys/dev/amdgpio/amdgpio.c @@ -469,8 +469,7 @@ static driver_t amdgpio_driver = { sizeof(struct amdgpio_softc), }; -static devclass_t amdgpio_devclass; -DRIVER_MODULE(amdgpio, acpi, amdgpio_driver, amdgpio_devclass, 0, 0); +DRIVER_MODULE(amdgpio, acpi, amdgpio_driver, 0, 0); MODULE_DEPEND(amdgpio, acpi, 1, 1, 1); MODULE_DEPEND(amdgpio, gpiobus, 1, 1, 1); MODULE_VERSION(amdgpio, 1); diff --git a/sys/dev/amdpm/amdpm.c b/sys/dev/amdpm/amdpm.c index 0231028be7fe..fa779fc543eb 100644 --- a/sys/dev/amdpm/amdpm.c +++ b/sys/dev/amdpm/amdpm.c @@ -634,8 +634,6 @@ error: return (error); } -static devclass_t amdpm_devclass; - static device_method_t amdpm_methods[] = { /* Device interface */ DEVMETHOD(device_probe, amdpm_probe), @@ -662,7 +660,7 @@ static driver_t amdpm_driver = { sizeof(struct amdpm_softc), }; -DRIVER_MODULE(amdpm, pci, amdpm_driver, amdpm_devclass, 0, 0); +DRIVER_MODULE(amdpm, pci, amdpm_driver, 0, 0); DRIVER_MODULE(smbus, amdpm, smbus_driver, 0, 0); MODULE_DEPEND(amdpm, pci, 1, 1, 1); diff --git a/sys/dev/amdsbwd/amdsbwd.c b/sys/dev/amdsbwd/amdsbwd.c index a7ab67f1a8b8..c24620e2b993 100644 --- a/sys/dev/amdsbwd/amdsbwd.c +++ b/sys/dev/amdsbwd/amdsbwd.c @@ -123,14 +123,13 @@ static device_method_t amdsbwd_methods[] = { DEVMETHOD_END }; -static devclass_t amdsbwd_devclass; static driver_t amdsbwd_driver = { "amdsbwd", amdsbwd_methods, sizeof(struct amdsbwd_softc) }; -DRIVER_MODULE(amdsbwd, isa, amdsbwd_driver, amdsbwd_devclass, NULL, NULL); +DRIVER_MODULE(amdsbwd, isa, amdsbwd_driver, NULL, NULL); static uint8_t pmio_read(struct resource *res, uint8_t reg) diff --git a/sys/dev/amdsmb/amdsmb.c b/sys/dev/amdsmb/amdsmb.c index e4de2e3609a6..8161691be252 100644 --- a/sys/dev/amdsmb/amdsmb.c +++ b/sys/dev/amdsmb/amdsmb.c @@ -566,15 +566,13 @@ static device_method_t amdsmb_methods[] = { { 0, 0 } }; -static devclass_t amdsmb_devclass; - static driver_t amdsmb_driver = { "amdsmb", amdsmb_methods, sizeof(struct amdsmb_softc), }; -DRIVER_MODULE(amdsmb, pci, amdsmb_driver, amdsmb_devclass, 0, 0); +DRIVER_MODULE(amdsmb, pci, amdsmb_driver, 0, 0); DRIVER_MODULE(smbus, amdsmb, smbus_driver, 0, 0); MODULE_DEPEND(amdsmb, pci, 1, 1, 1); diff --git a/sys/dev/amdsmn/amdsmn.c b/sys/dev/amdsmn/amdsmn.c index e83219b02705..d2d6f0392cd5 100644 --- a/sys/dev/amdsmn/amdsmn.c +++ b/sys/dev/amdsmn/amdsmn.c @@ -129,8 +129,7 @@ static driver_t amdsmn_driver = { sizeof(struct amdsmn_softc), }; -static devclass_t amdsmn_devclass; -DRIVER_MODULE(amdsmn, hostb, amdsmn_driver, amdsmn_devclass, NULL, NULL); +DRIVER_MODULE(amdsmn, hostb, amdsmn_driver, NULL, NULL); MODULE_VERSION(amdsmn, 1); MODULE_PNP_INFO("U16:vendor;U16:device", pci, amdsmn, amdsmn_ids, nitems(amdsmn_ids)); diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index c8b40b0d68d4..33ee63d09e38 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c @@ -229,8 +229,7 @@ static driver_t amdtemp_driver = { sizeof(struct amdtemp_softc), }; -static devclass_t amdtemp_devclass; -DRIVER_MODULE(amdtemp, hostb, amdtemp_driver, amdtemp_devclass, NULL, NULL); +DRIVER_MODULE(amdtemp, hostb, amdtemp_driver, NULL, NULL); MODULE_VERSION(amdtemp, 1); MODULE_DEPEND(amdtemp, amdsmn, 1, 1, 1); MODULE_PNP_INFO("U16:vendor;U16:device", pci, amdtemp, amdtemp_products,