From nobody Mon May 09 21:47:54 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 307C81AC9FF7; Mon, 9 May 2022 21:47:55 +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 4Kxvt26SScz3Gx7; Mon, 9 May 2022 21:47:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132875; 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=bZEeEe403OANdF6OkNIzBKqnaRhxsGiUVLpyEsBboOE=; b=jOUb/yKWskkjr1oYJs9s9BQsc5k1BuiSGgcAXnFrieuKp5BdugLSjw38EBcHsPzvT7uT5B DCoRu6UJxAqWjWSUnXcVRhzKXgkUyoZb0KQyH0Z2bDo8cZiPnM1o0qnxLWTQ+2KERR2J+L U4YctykffsAy9ecvsKd9jCvPha0O2CvGOCv1FA6a7LKtsEVrHzvAtgmsgDxEgYPr8m15yQ zrqXbZ5af8hkbEw1GizWcrfYywwQAQwdW8LqpElNXMiin5M115PM+TWX/ooFCo/N3wcXsU ZYA6KRzj+uKGbyRQpsT7d4NV3tAmZr2WAuZC/P9NR3v4bQiQecNLdfm+uqLb/Q== 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 912BB18F8D; Mon, 9 May 2022 21:47:54 +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 249LlsJU080285; Mon, 9 May 2022 21:47:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlsQE080284; Mon, 9 May 2022 21:47:54 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:54 GMT Message-Id: <202205092147.249LlsQE080284@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: 680ccae39072 - main - arm xilinx: 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: 680ccae39072d6253c48cf72d2936ac99b47aefe Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132875; 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=bZEeEe403OANdF6OkNIzBKqnaRhxsGiUVLpyEsBboOE=; b=CV/nXcFzUOUF9JDm5tdOcRO0RXgtNOt+UqWQT6FmkZHiDN+Y+tbnD1Ltzhn/9ukNpBCtEz fFEA9B7n77UDzhsQNEOh1SlQTHzyghGXTQKcWWbyr7mlmgn3vHJzAOhEPw3cvofDdxMwkd d9zDLC6ENHHsN2UPnEZ80xke8/yt46ppq1XPs/DpQ6nBTDCa+TCDjaBX2SudqDrzodM44U 6TkYauBxux72HCQlW+q2A6HT2Mt5MGaHovMcPzjXah+LwZ/ok+FVouf/8a2g0r55z7hwKW 0KwbbFfpaKzwTTKml/zThYPcIB4qSjhFxNBUn0G74mBKi2rYEcXOLKg0FjHPig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132875; a=rsa-sha256; cv=none; b=oy6Yss3bGPUUlW1RLqQPEPnWmpa5hp2ziSVrINv7lY8InMWcaX6+OWEskPhvqofz3jDyKz KtfsbFBaqXp5s652fzunWGY+vNbtvxZFoZrN+VXynt9tpLCzVC2Spp8YoGngKycohzmy8U BXDhDLeXzfx0x4P5lntKQnNPqgyEKPcbrzsuDarg08lULdXkXEdwBIr7i0cxP6aWzc36dM LApiPgxKv91oHjAH7AxdwmSZBuUbcfj3xN14GD4IkBr39EGDyLR4CxjeI0QN8VVqBbt/B9 vSv/F7F0qWj48u61O2T+CT4aA0VnNC0BPQFr4lQx6o1b+5dHAMTryQpRt0tywA== 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=680ccae39072d6253c48cf72d2936ac99b47aefe commit 680ccae39072d6253c48cf72d2936ac99b47aefe Author: John Baldwin AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:45 +0000 arm xilinx: Remove unused devclass arguments to DRIVER_MODULE. --- sys/arm/xilinx/zy7_devcfg.c | 4 +--- sys/arm/xilinx/zy7_ehci.c | 3 +-- sys/arm/xilinx/zy7_gpio.c | 4 +--- sys/arm/xilinx/zy7_qspi.c | 3 +-- sys/arm/xilinx/zy7_slcr.c | 3 +-- sys/arm/xilinx/zy7_spi.c | 3 +-- 6 files changed, 6 insertions(+), 14 deletions(-) diff --git a/sys/arm/xilinx/zy7_devcfg.c b/sys/arm/xilinx/zy7_devcfg.c index d10cf1e31c23..d40e2a5f818e 100644 --- a/sys/arm/xilinx/zy7_devcfg.c +++ b/sys/arm/xilinx/zy7_devcfg.c @@ -843,8 +843,6 @@ static driver_t zy7_devcfg_driver = { zy7_devcfg_methods, sizeof(struct zy7_devcfg_softc), }; -static devclass_t zy7_devcfg_devclass; -DRIVER_MODULE(zy7_devcfg, simplebus, zy7_devcfg_driver, zy7_devcfg_devclass, \ - 0, 0); +DRIVER_MODULE(zy7_devcfg, simplebus, zy7_devcfg_driver, 0, 0); MODULE_DEPEND(zy7_devcfg, zy7_slcr, 1, 1, 1); diff --git a/sys/arm/xilinx/zy7_ehci.c b/sys/arm/xilinx/zy7_ehci.c index 28e4705599c7..2b72e4679d4d 100644 --- a/sys/arm/xilinx/zy7_ehci.c +++ b/sys/arm/xilinx/zy7_ehci.c @@ -365,7 +365,6 @@ static driver_t ehci_driver = { ehci_methods, sizeof(struct ehci_softc), }; -static devclass_t ehci_devclass; -DRIVER_MODULE(zy7_ehci, simplebus, ehci_driver, ehci_devclass, NULL, NULL); +DRIVER_MODULE(zy7_ehci, simplebus, ehci_driver, NULL, NULL); MODULE_DEPEND(zy7_ehci, usb, 1, 1, 1); diff --git a/sys/arm/xilinx/zy7_gpio.c b/sys/arm/xilinx/zy7_gpio.c index 3e31805f19fe..ef8ffb28127a 100644 --- a/sys/arm/xilinx/zy7_gpio.c +++ b/sys/arm/xilinx/zy7_gpio.c @@ -371,7 +371,5 @@ static driver_t zy7_gpio_driver = { zy7_gpio_methods, sizeof(struct zy7_gpio_softc), }; -static devclass_t zy7_gpio_devclass; -DRIVER_MODULE(zy7_gpio, simplebus, zy7_gpio_driver, zy7_gpio_devclass, \ - NULL, NULL); +DRIVER_MODULE(zy7_gpio, simplebus, zy7_gpio_driver, NULL, NULL); diff --git a/sys/arm/xilinx/zy7_qspi.c b/sys/arm/xilinx/zy7_qspi.c index f64e6be555a0..1915f93608ba 100644 --- a/sys/arm/xilinx/zy7_qspi.c +++ b/sys/arm/xilinx/zy7_qspi.c @@ -746,9 +746,8 @@ static driver_t zy7_qspi_driver = { zy7_qspi_methods, sizeof(struct zy7_qspi_softc), }; -static devclass_t zy7_qspi_devclass; -DRIVER_MODULE(zy7_qspi, simplebus, zy7_qspi_driver, zy7_qspi_devclass, 0, 0); +DRIVER_MODULE(zy7_qspi, simplebus, zy7_qspi_driver, 0, 0); DRIVER_MODULE(ofw_spibus, zy7_qspi, ofw_spibus_driver, 0, 0); SIMPLEBUS_PNP_INFO(compat_data); MODULE_DEPEND(zy7_qspi, ofw_spibus, 1, 1, 1); diff --git a/sys/arm/xilinx/zy7_slcr.c b/sys/arm/xilinx/zy7_slcr.c index 6651252151e2..5f065bfe474d 100644 --- a/sys/arm/xilinx/zy7_slcr.c +++ b/sys/arm/xilinx/zy7_slcr.c @@ -708,7 +708,6 @@ static driver_t zy7_slcr_driver = { zy7_slcr_methods, sizeof(struct zy7_slcr_softc), }; -static devclass_t zy7_slcr_devclass; -DRIVER_MODULE(zy7_slcr, simplebus, zy7_slcr_driver, zy7_slcr_devclass, 0, 0); +DRIVER_MODULE(zy7_slcr, simplebus, zy7_slcr_driver, 0, 0); MODULE_VERSION(zy7_slcr, 1); diff --git a/sys/arm/xilinx/zy7_spi.c b/sys/arm/xilinx/zy7_spi.c index e3d04fd1632c..187be191c793 100644 --- a/sys/arm/xilinx/zy7_spi.c +++ b/sys/arm/xilinx/zy7_spi.c @@ -588,9 +588,8 @@ static driver_t zy7_spi_driver = { zy7_spi_methods, sizeof(struct zy7_spi_softc), }; -static devclass_t zy7_spi_devclass; -DRIVER_MODULE(zy7_spi, simplebus, zy7_spi_driver, zy7_spi_devclass, 0, 0); +DRIVER_MODULE(zy7_spi, simplebus, zy7_spi_driver, 0, 0); DRIVER_MODULE(ofw_spibus, zy7_spi, ofw_spibus_driver, 0, 0); SIMPLEBUS_PNP_INFO(compat_data); MODULE_DEPEND(zy7_spi, ofw_spibus, 1, 1, 1);