From nobody Mon May 09 21:48:05 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 749711ACA72A; Mon, 9 May 2022 21:48:06 +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 4KxvtG0sy1z3Gq1; Mon, 9 May 2022 21:48:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132886; 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=9kLk2pRDj3mHf+oZVXI4G6V0UrqTj7waA2NqZMw58uo=; b=CDE77xM74eKWnwTOaKBspjDh9qlA/tkv3WgswHRFx0niQ8fhQRud3LvZLb7l30K5ZViNQk J1ooOs8je1MKt73Afdm7qRgWsW59fVKJj0/Z93reiOysrfB/sjFv7M+ki14HHojbaojmp/ G1+HX0+xetGlpE85S1H08mRQrk/24jraaSEgPyYMC/MiMdIce6AJ0OyuyY6uMO0fAKU2Au epghadr5Dd4PW+wP9ydLwS4/f9GyEk/cdDvJj3pRUeBO1x/Y9MRNdrWsN8rJ1K8IL7lm/R L7ZEhq7xaob9RS7dqJXenCXZsxDWqg4FPpVYXirsJTYBqcBE3jgsvWm5ikh4GQ== 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 E8E2718F0A; Mon, 9 May 2022 21:48:05 +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 249Lm54C080545; Mon, 9 May 2022 21:48:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Lm555080544; Mon, 9 May 2022 21:48:05 GMT (envelope-from git) Date: Mon, 9 May 2022 21:48:05 GMT Message-Id: <202205092148.249Lm555080544@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: 395bee1285a2 - main - psci: 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: 395bee1285a2ed6aa6d23612b4cf9f1f7aa92001 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132886; 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=9kLk2pRDj3mHf+oZVXI4G6V0UrqTj7waA2NqZMw58uo=; b=uhA8qZoFHAUIQderbU1ZyQfrg8bPXEKcggPiUAhf8lt3wVejvVmXrhtBf8vm5RWzy/oHbU JSSNWidQWoXa01qVblAdGExilv/HxsH/2+vzENr4peFtYSRf5j17LmNTMl1AqGN1kEy2b+ IdOv30ks9kn3lULhCb4afNkZOH2yiAqsuaPXPYi4dWGNC5kvek/bzQSnwx0/aPIU1GI9F6 kEuONWaVvUPQqk9djJpkbl/LMkMoTLE9sAeoBGLnJBhzTV+0YNlGpZt0fbe1laWyNuF0Hi 0AydBirPD1juF8Gb3Obmu7cLKUlZOg3S3nvgGDpUiB2K1FXPuVie00Mn4ELydw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132886; a=rsa-sha256; cv=none; b=E1scAyaHk31N0o++OesSVTeKfHmSTNlfn0L65lf9cxp4PcBC7jMvyBMoBhS6DII9Klxus3 00oOUmTBaAFozRGk3XQfdy0JwF1ONmJ405CXgWFrw7eXWJg7goTJ2ltGd29cYuXpXgoDaR zZyOGrOHvbbqc2lJWpseeyCGtJs9l6hcovDC+jrY6N3Ed6J7jCuxres9Oma8R6Ij4J5LsX JKIaUSHPzAHIBoE3IX6BDpL/zqgDajWKxGh9zvrw8rrdzTNj4MnNXUBvxs49LqYkDczPdo MRjIKgy6FD7CXMb99LjYdJRh5kFV09WXiu1mbr4vtqA6pZ1sUa3qsY94LgNrWw== 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=395bee1285a2ed6aa6d23612b4cf9f1f7aa92001 commit 395bee1285a2ed6aa6d23612b4cf9f1f7aa92001 Author: John Baldwin AuthorDate: 2022-05-09 21:26:46 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:46 +0000 psci: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/psci/psci.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/sys/dev/psci/psci.c b/sys/dev/psci/psci.c index dd760d8e221a..db308a550d3a 100644 --- a/sys/dev/psci/psci.c +++ b/sys/dev/psci/psci.c @@ -178,11 +178,9 @@ static driver_t psci_fdt_driver = { sizeof(struct psci_softc), }; -static devclass_t psci_fdt_devclass; - -EARLY_DRIVER_MODULE(psci, simplebus, psci_fdt_driver, psci_fdt_devclass, 0, 0, +EARLY_DRIVER_MODULE(psci, simplebus, psci_fdt_driver, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_FIRST); -EARLY_DRIVER_MODULE(psci, ofwbus, psci_fdt_driver, psci_fdt_devclass, 0, 0, +EARLY_DRIVER_MODULE(psci, ofwbus, psci_fdt_driver, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_FIRST); static psci_callfn_t @@ -254,9 +252,7 @@ static driver_t psci_acpi_driver = { sizeof(struct psci_softc), }; -static devclass_t psci_acpi_devclass; - -EARLY_DRIVER_MODULE(psci, acpi, psci_acpi_driver, psci_acpi_devclass, 0, 0, +EARLY_DRIVER_MODULE(psci, acpi, psci_acpi_driver, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_FIRST); static int