From nobody Fri May 06 23:24:46 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 E29CD1AD0334; Fri, 6 May 2022 23:24:47 +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 4Kw69B6Mt1z3F5Y; Fri, 6 May 2022 23:24:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879487; 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=B6QXB0FLMIpgC61+GJk1v7Ufq6ln2aqIi4kmNqveP1k=; b=bKHRCtH7pRx01vQ8xcEICnpsZ5dFQYOuAfa8ioVLxF+XIq1/QOI14ho8VvCJiBiyQRwGWt WnzEEN+rp/5lox3pDzas4C0xK6htYzkL45IGj1pFJXOYco28UKpHt6l1RG5tnSJCdWv7DA dU4j4n3dPjzJGGDGlpKTBDHhSOSH5F6n7wlD1W3NM4E+hPuKr7UUlw1VNSkwVlzacYAahT QrSmpqT8hlC2bvzbK+0J3rP8vZ5+4tZOuQ7hUamgvBTg1a+9U1RxPALbNCejrNJeF2J1Eg BsBePG2VYWXGkDJxVrfPA+u+4uwOVpE8uv6mAJXwjZZtSlQ8Ik44WsSgF4Dryg== 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 4F22A24FEE; Fri, 6 May 2022 23:24:46 +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 246NOk78074981; Fri, 6 May 2022 23:24:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NOkdr074980; Fri, 6 May 2022 23:24:46 GMT (envelope-from git) Date: Fri, 6 May 2022 23:24:46 GMT Message-Id: <202205062324.246NOkdr074980@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: 8f35a52d396f - main - sdhci: 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: 8f35a52d396fbc4984dd22c80569ca5351ada8c4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879487; 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=B6QXB0FLMIpgC61+GJk1v7Ufq6ln2aqIi4kmNqveP1k=; b=wzmzCZ0G1jQpSQN9lNZxueIIQ48tiggURmTHxIqaId6SHoVYWInOZmPc5UaOQpzE7KKUIW g6mSv7kFOYPngGr3K/FchUGCNZOR0+x9QQjKu6hdtDdCYSSzyNHYcHBHg4eOJgctEby3RG rlwhAJmpmHbHnB29tvaf4ZOxEv+WQQIS9tCBP3R7qQX+MPj4j8IsK+LMZ8tgEbYZBubv/6 MduitGHEGAY20AgU53WwODuNps/gUHuudpIOXDEVTSn4KedqM7pzsT6SXz6uc9JD1DfAwi gRUZj+HlQTlPr3zlY/yxLpU0D/j/DYWp+Urkt+lkX7ZuT3yut/04vYwD2wX8/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879487; a=rsa-sha256; cv=none; b=s7vvb7e8/mYgIZrWej3wQVXDzYCnjcRGmzY3iKLz7taOJ0oFN/e/nmGv4Tw6H38Gt3zJJZ Li1ktBz+bVhNvJfybYmAAt0bnYPIWkSP8NUWebbj8lQCtDyOVLP/AHYAlmc36xT1R8tgSF W8cpEVDFcW4BMLtDjwZzENLKnufm60miU6/eyWpbzwh8Go7airyqgl6rbhPILz/QI7ylEj NhSEkY9rODXv+4pe+Dnho0Ab8fzeyHRn1WPY3Mo2nbSjvBke2h60gAyzOVDNHn3QCEFhuD CqVNOxec2XNDxBXTi947VLkaQAIQwC0cWbmDGz0/Cz0OFUIs3kCKlpxVNn3R5Q== 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=8f35a52d396fbc4984dd22c80569ca5351ada8c4 commit 8f35a52d396fbc4984dd22c80569ca5351ada8c4 Author: John Baldwin AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:56 +0000 sdhci: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/sdhci/fsl_sdhci.c | 5 +---- sys/dev/sdhci/sdhci_acpi.c | 4 +--- sys/dev/sdhci/sdhci_fdt.c | 4 +--- sys/dev/sdhci/sdhci_fsl_fdt.c | 4 +--- sys/dev/sdhci/sdhci_pci.c | 4 +--- sys/dev/sdhci/sdhci_xenon_acpi.c | 5 +---- sys/dev/sdhci/sdhci_xenon_fdt.c | 5 +---- 7 files changed, 7 insertions(+), 24 deletions(-) diff --git a/sys/dev/sdhci/fsl_sdhci.c b/sys/dev/sdhci/fsl_sdhci.c index e8759be95699..2694c130564b 100644 --- a/sys/dev/sdhci/fsl_sdhci.c +++ b/sys/dev/sdhci/fsl_sdhci.c @@ -990,16 +990,13 @@ static device_method_t fsl_sdhci_methods[] = { DEVMETHOD_END }; -static devclass_t fsl_sdhci_devclass; - static driver_t fsl_sdhci_driver = { "sdhci_fsl", fsl_sdhci_methods, sizeof(struct fsl_sdhci_softc), }; -DRIVER_MODULE(sdhci_fsl, simplebus, fsl_sdhci_driver, fsl_sdhci_devclass, - NULL, NULL); +DRIVER_MODULE(sdhci_fsl, simplebus, fsl_sdhci_driver, NULL, NULL); SDHCI_DEPEND(sdhci_fsl); #ifndef MMCCAM diff --git a/sys/dev/sdhci/sdhci_acpi.c b/sys/dev/sdhci/sdhci_acpi.c index f7fbd3fdaf3f..179642451204 100644 --- a/sys/dev/sdhci/sdhci_acpi.c +++ b/sys/dev/sdhci/sdhci_acpi.c @@ -453,10 +453,8 @@ static driver_t sdhci_acpi_driver = { sdhci_methods, sizeof(struct sdhci_acpi_softc), }; -static devclass_t sdhci_acpi_devclass; -DRIVER_MODULE(sdhci_acpi, acpi, sdhci_acpi_driver, sdhci_acpi_devclass, NULL, - NULL); +DRIVER_MODULE(sdhci_acpi, acpi, sdhci_acpi_driver, NULL, NULL); SDHCI_DEPEND(sdhci_acpi); #ifndef MMCCAM diff --git a/sys/dev/sdhci/sdhci_fdt.c b/sys/dev/sdhci/sdhci_fdt.c index 51b009a411c8..f7e6eb27d180 100644 --- a/sys/dev/sdhci/sdhci_fdt.c +++ b/sys/dev/sdhci/sdhci_fdt.c @@ -586,10 +586,8 @@ static driver_t sdhci_fdt_driver = { sdhci_fdt_methods, sizeof(struct sdhci_fdt_softc), }; -static devclass_t sdhci_fdt_devclass; -DRIVER_MODULE(sdhci_fdt, simplebus, sdhci_fdt_driver, sdhci_fdt_devclass, - NULL, NULL); +DRIVER_MODULE(sdhci_fdt, simplebus, sdhci_fdt_driver, NULL, NULL); SDHCI_DEPEND(sdhci_fdt); #ifndef MMCCAM MMC_DECLARE_BRIDGE(sdhci_fdt); diff --git a/sys/dev/sdhci/sdhci_fsl_fdt.c b/sys/dev/sdhci/sdhci_fsl_fdt.c index 31ff858c7a14..470cbd169303 100644 --- a/sys/dev/sdhci/sdhci_fsl_fdt.c +++ b/sys/dev/sdhci/sdhci_fsl_fdt.c @@ -1562,15 +1562,13 @@ static const device_method_t sdhci_fsl_fdt_methods[] = { DEVMETHOD_END }; -static devclass_t sdhci_fsl_fdt_devclass; static driver_t sdhci_fsl_fdt_driver = { "sdhci_fsl_fdt", sdhci_fsl_fdt_methods, sizeof(struct sdhci_fsl_fdt_softc), }; -DRIVER_MODULE(sdhci_fsl_fdt, simplebus, sdhci_fsl_fdt_driver, - sdhci_fsl_fdt_devclass, NULL, NULL); +DRIVER_MODULE(sdhci_fsl_fdt, simplebus, sdhci_fsl_fdt_driver, NULL, NULL); SDHCI_DEPEND(sdhci_fsl_fdt); #ifndef MMCCAM diff --git a/sys/dev/sdhci/sdhci_pci.c b/sys/dev/sdhci/sdhci_pci.c index 5d22a819410c..fee99646c6b4 100644 --- a/sys/dev/sdhci/sdhci_pci.c +++ b/sys/dev/sdhci/sdhci_pci.c @@ -525,10 +525,8 @@ static driver_t sdhci_pci_driver = { sdhci_methods, sizeof(struct sdhci_pci_softc), }; -static devclass_t sdhci_pci_devclass; -DRIVER_MODULE(sdhci_pci, pci, sdhci_pci_driver, sdhci_pci_devclass, NULL, - NULL); +DRIVER_MODULE(sdhci_pci, pci, sdhci_pci_driver, NULL, NULL); SDHCI_DEPEND(sdhci_pci); #ifndef MMCCAM diff --git a/sys/dev/sdhci/sdhci_xenon_acpi.c b/sys/dev/sdhci/sdhci_xenon_acpi.c index 9bb781ff75a6..920d69084aa3 100644 --- a/sys/dev/sdhci/sdhci_xenon_acpi.c +++ b/sys/dev/sdhci/sdhci_xenon_acpi.c @@ -128,10 +128,7 @@ static device_method_t sdhci_xenon_acpi_methods[] = { DEFINE_CLASS_1(sdhci_xenon, sdhci_xenon_acpi_driver, sdhci_xenon_acpi_methods, sizeof(struct sdhci_xenon_softc), sdhci_xenon_driver); -static devclass_t sdhci_xenon_acpi_devclass; - -DRIVER_MODULE(sdhci_xenon, acpi, sdhci_xenon_acpi_driver, - sdhci_xenon_acpi_devclass, NULL, NULL); +DRIVER_MODULE(sdhci_xenon, acpi, sdhci_xenon_acpi_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(sdhci_xenon_acpi); diff --git a/sys/dev/sdhci/sdhci_xenon_fdt.c b/sys/dev/sdhci/sdhci_xenon_fdt.c index 2d96105bd7e9..96949cd32bf7 100644 --- a/sys/dev/sdhci/sdhci_xenon_fdt.c +++ b/sys/dev/sdhci/sdhci_xenon_fdt.c @@ -163,10 +163,7 @@ static device_method_t sdhci_xenon_fdt_methods[] = { DEFINE_CLASS_1(sdhci_xenon, sdhci_xenon_fdt_driver, sdhci_xenon_fdt_methods, sizeof(struct sdhci_xenon_softc), sdhci_xenon_driver); -static devclass_t sdhci_xenon_fdt_devclass; - -DRIVER_MODULE(sdhci_xenon, simplebus, sdhci_xenon_fdt_driver, - sdhci_xenon_fdt_devclass, NULL, NULL); +DRIVER_MODULE(sdhci_xenon, simplebus, sdhci_xenon_fdt_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(sdhci_xenon_fdt);