From nobody Mon May 09 19:23:03 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 9540D1AC3112; Mon, 9 May 2022 19:23:05 +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 4Kxrfw1HCDz3nxT; Mon, 9 May 2022 19:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124184; 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=5MO1X+sUxghycQFONTR0sAuoYtJ2Uuf1bh2E7obSDh4=; b=iYjNE9GMrI30veOmE/hk1qPF5NUDZhuAw7tWBwXJMncEURQDzsEP+EMe1YakeaPouJKPUY BDVVhLv8xqHAT8QCETZ4Mz91aQK9GpYvOSDZEhip/ZXNym4qKdxQF9Ay8DQLQxJX/cHCfw xGfyaY/SPqrt9OXOicxMWWoJtenxwurXu2yMOUKFzRMjqyLdg/XV8OY18nwuPmA+cmLLdO Lm0iJesfTqEKwbCi35HGSZa76LelOI8ZBDq6AYGmTQdKky3kLhV4jMU9QcL+rcncbtOxrq WPR0h44Bv9inKQi8dy3KNL2tRjgRwmhOo/ctbWyYlA2f/9fT7P8AXjBwooTtpw== 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 881F91697C; Mon, 9 May 2022 19:23:03 +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 249JN3A1085671; Mon, 9 May 2022 19:23:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JN30o085670; Mon, 9 May 2022 19:23:03 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:03 GMT Message-Id: <202205091923.249JN30o085670@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: 289b5607da2e - main - pchtherm/intelspi: 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: 289b5607da2eace36026fc68a470040743fca9eb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124184; 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=5MO1X+sUxghycQFONTR0sAuoYtJ2Uuf1bh2E7obSDh4=; b=XQ4KCgEYJH2Il/RznViGM7Pbs413RSgJ3B4UbewOZLg1LXfUjD921UH7cHoejuhVvgAlQX bFRNs+rnYQt8YBgJac3QM+dcNEFdeQlgbjN8reKGx5t+pR2bazDyMDm7UowSypaF5RXpoD 3U1AzG/82NsOLqbkLwpNg9O3VM8kX3flsn7HoS4udTWWO8K0y1UCYy0Dr/zaVGNpRvNvSw T/t+f3pJd0y7bf8jReQhCsoeKEDNdFn+iDGzK6cYE531sx4lGQZCzaTwG5ZvzRPPBECHsx 1uskFKn/H/cRmX4ekh236NZ6ptERug+8XcgpyPaTwhTfE/dZlRPV0FCt7YqAuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124184; a=rsa-sha256; cv=none; b=pkeuHtb67cICYav3gmwV9+hiI1zcVc9xjVgvIMaG34CgTAsEPcvmgkysaUdbn4aM9WIwWv 7biSaxticY00rYqfte6fOw9hObB/ELZO9KwDs9CiUh34hLDNm9NhvO424YF6vQx9KdtKZr BvCv+wWXtXq8BKWHskqwKyCMfMqxp9FildIQOhUFIfiExGcsl25ZcuQY2//yPe2BfLShGl tOO+neG4VOSgP7XU02nS88HIufHJHiHdrkHg0lvTOMdAHeQ1KDCaLKi5dFY2shF0I5PnaB lLnXrOEmkly+grq48je0JiXHKCgmripxyvC/MxetbNGZwiQ24Nw1hKz4yqhqeQ== 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=289b5607da2eace36026fc68a470040743fca9eb commit 289b5607da2eace36026fc68a470040743fca9eb Author: John Baldwin AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:02 +0000 pchtherm/intelspi: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/intel/pchtherm.c | 5 +++-- sys/dev/intel/spi.c | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/intel/pchtherm.c b/sys/dev/intel/pchtherm.c index b65cc9879e26..241545efefa7 100644 --- a/sys/dev/intel/pchtherm.c +++ b/sys/dev/intel/pchtherm.c @@ -307,6 +307,7 @@ static int pchtherm_detach(device_t dev) return 0; } + static device_method_t pchtherm_methods[] = { DEVMETHOD(device_probe, pchtherm_probe), @@ -315,12 +316,12 @@ static device_method_t pchtherm_methods[] = DEVMETHOD_END }; + static driver_t pchtherm_driver = { "pchtherm", pchtherm_methods, sizeof(struct pchtherm_softc) }; -static devclass_t pchtherm_devclass; -DRIVER_MODULE(pchtherm, pci, pchtherm_driver, pchtherm_devclass, 0, 0); +DRIVER_MODULE(pchtherm, pci, pchtherm_driver, 0, 0); PCI_PNP_INFO(pchtherm_devices); diff --git a/sys/dev/intel/spi.c b/sys/dev/intel/spi.c index b11fa468c056..676530234382 100644 --- a/sys/dev/intel/spi.c +++ b/sys/dev/intel/spi.c @@ -528,7 +528,6 @@ static driver_t intelspi_driver = { sizeof(struct intelspi_softc), }; -static devclass_t intelspi_devclass; -DRIVER_MODULE(intelspi, acpi, intelspi_driver, intelspi_devclass, 0, 0); +DRIVER_MODULE(intelspi, acpi, intelspi_driver, 0, 0); MODULE_DEPEND(intelspi, acpi, 1, 1, 1); MODULE_DEPEND(intelspi, spibus, 1, 1, 1);