From nobody Mon May 09 21:47:52 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 530CF1ACA325; 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 4Kxvt05ZTlz3Gh1; Mon, 9 May 2022 21:47:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132873; 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=/AsErezjKDVqo2rKP4wylTiiWUOAOwpJ7b48YfN8Uoo=; b=mKiItdwUxBzsyCbFOe7LkjHvHqcP91WVhpq2x/S0s69oJBzOMDExFrhh9JQetfCBAuzPMq Sx/5fxWqwqCVlE7OBc3T+zP2SS/ecHREs8LbKyOhkrk15rKFngrCr8F/AEEXO9M8abrOkb HFUFZBrJAMGMHxgZ0DZ1z+7Y7AOQCxSdedgDng8EoBiFg/4Q3xadFNIdbpoThbjRIsk3YF JfuZicWAluUmrImVPRvoYwzqOt60fz6+XMWHisYTD1oc46EBwPCcjBArtSTisaq1BcKeH2 HOdlmIoiDMBFp3mgdPwAeXXO0ThLUjj2usZL4VTQnI7/57F3EhZ7YldEchUcKA== 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 4EDC318F08; Mon, 9 May 2022 21:47:52 +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 249Llq8K080233; Mon, 9 May 2022 21:47:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Llqex080232; Mon, 9 May 2022 21:47:52 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:52 GMT Message-Id: <202205092147.249Llqex080232@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: 9978ade49804 - main - arm/arm64 qualcomm: 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: 9978ade4980452e3699285c01a4b9c4b5adc68e4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132873; 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=/AsErezjKDVqo2rKP4wylTiiWUOAOwpJ7b48YfN8Uoo=; b=d+2/ZjEysZaqEGpIDrlV/SzqCsuqMdht0Y9YNajDX+C0aiKOw2oNQBMWMJiLh0Qy1W/e+f JUlDOx8YSwQ4+gQb9LKaF3irGHoQ/F4hmviQ054JEWzTOdrijepMkgyqvb/1ZZ8O4wh5YC wrVZtOBy314YLSUKNQQ/0gzsWd/5JEPnWAypPuWfx4fG4vIny3s5vHku6rwdApdyg9Euxx ttvLWMayQ7VMpBAxwzzxOq4BlJicZe4QH+1CdyvZNnq8PrDVxD2c85JZYzXAEA8y6N7zOV 7A4S/2kS4alwvv+f19VoMjXL1lMUfzCU3V+FtzVu0fPb1Zk/2kIEJDU7a7g0Zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132873; a=rsa-sha256; cv=none; b=NKZtONAN3XhmbYxbz4Y+8fAy4MB0qGUyfKSFPYSVbCE5L2vJRaFZcarb6LMS1O+CeGRCJr aYK9YMX4Oo+pywwnL3Gm0TFOgWVND6b+Nt2rPz/TmJ3caFNNalFR2wxCdGrBeoFUOmN9aw GiqnIvvSigJLJm0JDdPWXnwoAY2kOTvWNVJFWRIYaFded2iQSiEcTv2YD5l4gyag3XAuo7 S7KaRCXhYeRsa5RL8G+ITmZsH16CNJLzCAZolKW6CNxXc06s/4JJKKd4+pHkOR7ldxFn2u 6wsnMBfGomj4QNez7AjP8m0+TDScYnfPLDZUw6LiH7i+6sD7FooYaxAY1C0jJg== 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=9978ade4980452e3699285c01a4b9c4b5adc68e4 commit 9978ade4980452e3699285c01a4b9c4b5adc68e4 Author: John Baldwin AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:45 +0000 arm/arm64 qualcomm: Remove unused devclass arguments to DRIVER_MODULE. --- sys/arm/qualcomm/ipq4018_usb_hs_phy.c | 4 +--- sys/arm/qualcomm/ipq4018_usb_ss_phy.c | 4 +--- sys/arm64/qualcomm/qcom_gcc.c | 6 ++---- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c index 8e03d2f27e6f..4d3d0d70a9a3 100644 --- a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c @@ -226,11 +226,9 @@ static device_method_t ipq4018_usb_hs_usbphy_methods[] = { DEVMETHOD_END }; -static devclass_t ipq4018_usb_hs_usbphy_devclass; static DEFINE_CLASS_0(ipq4018_usb_hs_usbphy, ipq4018_usb_hs_usbphy_driver, ipq4018_usb_hs_usbphy_methods, sizeof(struct ipq4018_usb_hs_phy_softc)); EARLY_DRIVER_MODULE(ipq4018_usb_hs_usbphy, simplebus, - ipq4018_usb_hs_usbphy_driver, - ipq4018_usb_hs_usbphy_devclass, NULL, NULL, + ipq4018_usb_hs_usbphy_driver, NULL, NULL, BUS_PASS_TIMER + BUS_PASS_ORDER_LAST); diff --git a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c index 3fe6d8115975..ad7ff8a5ff44 100644 --- a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c @@ -206,11 +206,9 @@ static device_method_t ipq4018_usb_ss_usbphy_methods[] = { DEVMETHOD_END }; -static devclass_t ipq4018_usb_ss_usbphy_devclass; static DEFINE_CLASS_0(ipq4018_usb_ss_usbphy, ipq4018_usb_ss_usbphy_driver, ipq4018_usb_ss_usbphy_methods, sizeof(struct ipq4018_usb_ss_phy_softc)); EARLY_DRIVER_MODULE(ipq4018_usb_ss_usbphy, simplebus, - ipq4018_usb_ss_usbphy_driver, - ipq4018_usb_ss_usbphy_devclass, NULL, NULL, + ipq4018_usb_ss_usbphy_driver, NULL, NULL, BUS_PASS_TIMER + BUS_PASS_ORDER_LAST); diff --git a/sys/arm64/qualcomm/qcom_gcc.c b/sys/arm64/qualcomm/qcom_gcc.c index 34ff41ce42e6..a20758cc8633 100644 --- a/sys/arm64/qualcomm/qcom_gcc.c +++ b/sys/arm64/qualcomm/qcom_gcc.c @@ -141,8 +141,6 @@ static driver_t qcom_gcc_driver = { sizeof(struct qcom_gcc_softc), }; -static devclass_t qcom_gcc_devclass; - -EARLY_DRIVER_MODULE(qcom_gcc, simplebus, qcom_gcc_driver, qcom_gcc_devclass, - 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(qcom_gcc, simplebus, qcom_gcc_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); MODULE_VERSION(qcom_gcc, 1);