From nobody Mon May 09 19:22: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 A24D01AC20B8; Mon, 9 May 2022 19:22: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 4Kxrfl3rGTz3nlm; Mon, 9 May 2022 19:22:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124175; 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=4p53EIbfVb3KSmV1fXYEiu0iqZIHwn0HZTvuFZrduPc=; b=pIHCfm2RUkOypwPIMiKpD696DgfpF3JVS15xjh1cIbvIG/clxdRqu/aF5IqFpwUpDOet1Z qJQBYEhRrK0Nn9KlonDIywA4SWL207hr5gm/p9YVwAgKjyKyLa5CyFJ4qqmGDh0OVsekao nZ4oDsNTN6J4icbFK9LuoNJdK4Ou0llpaWqAZJslZrY173bXqYnXmcx8MsXU+4rynuL9cD twYoQffD2M0S/QD+lptX7Q6oOJh/C0xUXqrK3E4Rt/2U12Yxu/L+iw1q0D6wku3vEZECHP pyAoEKe/Tr4kyuw5jH7TEYooZbnTJg6knTLWIhj0pRenGm55cK3g9q+7G81oNQ== 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 513471697A; Mon, 9 May 2022 19:22: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 249JMsX7085471; Mon, 9 May 2022 19:22:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMsGc085470; Mon, 9 May 2022 19:22:54 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:54 GMT Message-Id: <202205091922.249JMsGc085470@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: ccc221b9a200 - main - cyapa: Remove unused devclass argument 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: ccc221b9a2005ef822c267f9ae7a7f5d63bbd180 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124175; 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=4p53EIbfVb3KSmV1fXYEiu0iqZIHwn0HZTvuFZrduPc=; b=PGJdCwuJfMqozfDWeL+yGda69DfGIZLphotWAZUCuEiBBh7CEvoCRG5vt0qosfThCkej+t FgKawyGOgKXQsYAyvQgZJ05gHYbZoXu/k2UKef3bgq5PcpWEA1kottnszqindfMBmNoLzh lGovIAU6vOJEwl4PsS9mDUPiXEMZx43Bqq4gdBwHnIT4sE+8Zv3RBjx8yLUx+48lf5UQCA e+KYU/BjFXDhG+PNouKotlnQbwe6i8QKBD1AaB/EvjKUJeVJCG+phKpXTqjjCI4+MO5t83 kO0vs+9VmiFSArx5GxIKnPm6kj8sO2CeFTbnvZUqTHj9TywrewpvjKNWciFCcQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124175; a=rsa-sha256; cv=none; b=AyBUfqJ28Wzy3+WlvjfP6Au8u5uJf1GO1kpnX5uRGwzroeG0iR8S+zPs0LEzo5Don3n8G3 Ar3jqMqp/JfMbCWWi+VWVJNoiWXUvRDCLwZYgan/EDQSO9hpM/DuWK2EgtwzKNhn89JSj3 yrE/h+AlP0UupmyQsQ0LTet7dNg8+8nmBJAd7SMZswco3nzNeeRh7Jk9+kpo2VdrPz9X6B 9ja1YzHKoi45VOouQSssPSvlwMcslnWA/+/A3tQH8ImmwEOxttAcUb74cCnw55w7Ym8KvU vVzxg2FWqVA54aFeD4EMRN8xz8nX7MZR2h3Ne31qXWvExL5CSWZSu+Zxf2N+3Q== 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=ccc221b9a2005ef822c267f9ae7a7f5d63bbd180 commit ccc221b9a2005ef822c267f9ae7a7f5d63bbd180 Author: John Baldwin AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:02 +0000 cyapa: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/cyapa/cyapa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cyapa/cyapa.c b/sys/dev/cyapa/cyapa.c index 6846c8b0e3c6..474bf7fb16e5 100644 --- a/sys/dev/cyapa/cyapa.c +++ b/sys/dev/cyapa/cyapa.c @@ -456,8 +456,6 @@ static int cyapa_attach(device_t); static int cyapa_detach(device_t); static void cyapa_cdevpriv_dtor(void*); -static devclass_t cyapa_devclass; - static device_method_t cyapa_methods[] = { /* device interface */ DEVMETHOD(device_probe, cyapa_probe), @@ -1814,7 +1812,7 @@ cyapa_fuzz(int delta, int *fuzzp) return (delta); } -DRIVER_MODULE(cyapa, iicbus, cyapa_driver, cyapa_devclass, NULL, NULL); +DRIVER_MODULE(cyapa, iicbus, cyapa_driver, NULL, NULL); MODULE_DEPEND(cyapa, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); #ifdef EVDEV_SUPPORT MODULE_DEPEND(cyapa, evdev, 1, 1, 1);