From nobody Mon May 09 19:23:34 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 B4A311AC4A74; Mon, 9 May 2022 19:23:35 +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 4KxrgW11Qkz3pNp; Mon, 9 May 2022 19:23:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124215; 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=wKfh8Oaz7Y+iGsGdVwiQTJY+JXd1JttLrNZJsRSkt/Y=; b=s3C5kU1RedVsB2lbhiYQfg2lUWo8ONidciCMAnX8A7NhErbxLxXA8MDTf6erwrqKg/yfj3 p90MGiQAoe2wAFJRQxCShSIisaOmx4nWFnlNl3Xe+jj5Vs5b27bU5A8OXvI6lca94f6Is2 IvLdQbwRs3Pdd2U+xah56raPw4wPW7+Tt/mY2me6/GFzrf4APRNbqRPmx1Q1is3q5G2y/R 9RRc3xGU0l0niHs5dSk60bzFJ9/UUbSv80PmfhLYLNlT+de1sKk4HdJMVaIn4tHtMIXJXx 61PlMPJ3IKKXcEn7MiHbz//U9Dd9GC5T48tQheQnaj0O5XlhW/8/nvVJpA6dGQ== 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 63C4D16BBF; Mon, 9 May 2022 19:23:34 +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 249JNYeA086353; Mon, 9 May 2022 19:23:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNYe3086352; Mon, 9 May 2022 19:23:34 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:34 GMT Message-Id: <202205091923.249JNYe3086352@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: f5dfa6b98901 - main - tpm: 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: f5dfa6b98901e161bb7bac46034c6955e5baa0ee Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124215; 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=wKfh8Oaz7Y+iGsGdVwiQTJY+JXd1JttLrNZJsRSkt/Y=; b=Cgtt4lM2odfUWobaCMGZI20RlUW3rF+10Ng0mSbz3W1SpU30hMTCQZg5PMAU7y0V6KSLOT FE/xBLuUxYcsgKLyXrxr3u1iyYhjftUCQb5Tni5ybLK5p1z7a4Zy/dEo1ZexBfmYGf/NsW 2liB12XGmq8KPuAz6Q367eMjje5n4xcxTXx0uGPOPsBFMqQCAuN2LQ3xaXjcQPxPjtb3li rW6ficJ/znek3SV/2wSdy1atBDj02AMA2Leany2hJNLs3HCAh29NyYz1dAM7IfgTlwUWZq AndRKJGrB41q8Jl3sJKPw8Tdsg9Ol1CYd2HULa3/1/dG7XAMt5idEJUX/J9ZbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124215; a=rsa-sha256; cv=none; b=L73b3aPhTu7nV/XvcO/PfYtKcq3gXeNSMMtlqiRf4X3s4CWzH2gE+PU6KEHy1i+sCBKZQS HMmLwH9g3wIwxCIpw0NiyK881ZsxXz/YrUylt+7qyi1xMcFhlYsxr+ec7x9R3QJ8nhtEs7 ePsflQi462nmRiDhq5LInHCaSYuUBEnsv/RZk+UgQhoq+TRCkwm7H2uM013oGKUh+0EW6B Gn+AS7RY95fdIINUJmie+Xe4W/o5mFK0TWuezPObyUNX7xlI/DqeWUbIPzULskN3SsJYsj gIb3abJLp1aoI7/vXKEsrVWETCTPeDk64qmApGJuImFhBQYOeflHtzsbNLynkQ== 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=f5dfa6b98901e161bb7bac46034c6955e5baa0ee commit f5dfa6b98901e161bb7bac46034c6955e5baa0ee Author: John Baldwin AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:04 +0000 tpm: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/tpm/tpm_acpi.c | 4 ++-- sys/dev/tpm/tpm_crb.c | 4 ++-- sys/dev/tpm/tpm_isa.c | 4 +--- sys/dev/tpm/tpm_tis.c | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/sys/dev/tpm/tpm_acpi.c b/sys/dev/tpm/tpm_acpi.c index 12167e90c4a0..2ba66ae28771 100644 --- a/sys/dev/tpm/tpm_acpi.c +++ b/sys/dev/tpm/tpm_acpi.c @@ -72,9 +72,9 @@ static device_method_t tpm_acpi_methods[] = { DEVMETHOD(device_resume, tpm_resume), { 0, 0 } }; + static driver_t tpm_acpi_driver = { "tpm", tpm_acpi_methods, sizeof(struct tpm_softc), }; -devclass_t tpm_devclass; -DRIVER_MODULE(tpm, acpi, tpm_acpi_driver, tpm_devclass, 0, 0); +DRIVER_MODULE(tpm, acpi, tpm_acpi_driver, 0, 0); diff --git a/sys/dev/tpm/tpm_crb.c b/sys/dev/tpm/tpm_crb.c index d45b714bffc4..5b9619ee9b24 100644 --- a/sys/dev/tpm/tpm_crb.c +++ b/sys/dev/tpm/tpm_crb.c @@ -415,9 +415,9 @@ static device_method_t tpmcrb_methods[] = { DEVMETHOD(device_suspend, tpm20_suspend), {0, 0} }; + static driver_t tpmcrb_driver = { "tpmcrb", tpmcrb_methods, sizeof(struct tpmcrb_sc), }; -devclass_t tpmcrb_devclass; -DRIVER_MODULE(tpmcrb, acpi, tpmcrb_driver, tpmcrb_devclass, 0, 0); +DRIVER_MODULE(tpmcrb, acpi, tpmcrb_driver, 0, 0); diff --git a/sys/dev/tpm/tpm_isa.c b/sys/dev/tpm/tpm_isa.c index 861ca23cf9e5..c954f0ee377c 100644 --- a/sys/dev/tpm/tpm_isa.c +++ b/sys/dev/tpm/tpm_isa.c @@ -91,6 +91,4 @@ static driver_t tpm_driver = { "tpm", tpm_methods, sizeof(struct tpm_softc), }; -static devclass_t tpm_devclass; - -DRIVER_MODULE(tpm, isa, tpm_driver, tpm_devclass, 0, 0); +DRIVER_MODULE(tpm, isa, tpm_driver, 0, 0); diff --git a/sys/dev/tpm/tpm_tis.c b/sys/dev/tpm/tpm_tis.c index 02779f2bf2f2..75541b23dc37 100644 --- a/sys/dev/tpm/tpm_tis.c +++ b/sys/dev/tpm/tpm_tis.c @@ -514,9 +514,9 @@ static device_method_t tpmtis_methods[] = { DEVMETHOD(device_suspend, tpm20_suspend), {0, 0} }; + static driver_t tpmtis_driver = { "tpmtis", tpmtis_methods, sizeof(struct tpm_sc), }; -devclass_t tpmtis_devclass; -DRIVER_MODULE(tpmtis, acpi, tpmtis_driver, tpmtis_devclass, 0, 0); +DRIVER_MODULE(tpmtis, acpi, tpmtis_driver, 0, 0);