From nobody Fri May 06 23:24:48 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 9A42E1AD0615; Fri, 6 May 2022 23:24:50 +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 4Kw69F0fyqz3F1B; Fri, 6 May 2022 23:24:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879489; 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=jK/DGcx1y7f7bYTg+3oxX+Icc+ms84Mdphqht/4wglU=; b=bijyLL6cZkFc95OBm7eKuemnWKIbGwRFcC5P2mW+71EBD9fpVHDEE99RKQBCK2n37CPuzz 3EiRqCqPZFBG2x3D6v+9KakRHTunph9/61tmRK3s/j3Pg9Etjn67mCjUPtvEPMzIGRjNLz NJQL2/cRKLkCNTR1++KA255thTis31/UNrv45y+oGo1UnShnvzUaIQNuddH+rUoGXl/tHJ i0p1qXucWA1EAAKcUZGnNRAMFVyWt4CCW8odTy+LOjiw4/GbahQV6hAfAmuT9F230JWluO 55ZtUsYLddXHtfGbWz2F6Sg1rmwNdJl43EjawAL5Ya+XC5wzZ6eXx5EJeLekJg== 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 95A95253A9; Fri, 6 May 2022 23:24:48 +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 246NOmbo075035; Fri, 6 May 2022 23:24:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NOmMm075034; Fri, 6 May 2022 23:24:48 GMT (envelope-from git) Date: Fri, 6 May 2022 23:24:48 GMT Message-Id: <202205062324.246NOmMm075034@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: 1fdc3ba41b92 - main - siis: 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: 1fdc3ba41b92cd3d3f07e571468e342e777ff32b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879489; 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=jK/DGcx1y7f7bYTg+3oxX+Icc+ms84Mdphqht/4wglU=; b=KVlWMD6nXpgyzzTf1sLfkXu2ZDYsJ8ucuUrtyeWILi3m9LDyXnTiNJHX93KJw/rob+ure1 u7d2G9You0BjotV+CJrOaTjX/GBijj//UwJJvxPNZNff0i4MH8JhWIjrzTapJVeD7waLov rWDcNxLlTx4797of1MGQJx2LJmFIgS79tMn3H8XveScgB6vpQXaXizLp04mfzuNiO25b4u 0j4gmaDmWmHxfPqOcSsaL3Av9CUomoivXpx+R3vre4+xTej+dFGfCRauhnxEF+CqHdLYPj /xuy/Bp+K4arFmnJ5KFaKueanZiXWLl5eR+v/CJSTwwYVN3bDWbTdtgnSXhvCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879489; a=rsa-sha256; cv=none; b=wZeFbBn3zZYNHh/XvOlpKL4vbtejXaVK/VVbYLqmePmdb/xTmLeFp6+N+e7zs9svhGwRHB thQkx+9iyPVCjln/FUXf3VRDBfTuKCQhHVePE8R++X4GIEhe+0cIAF68ex3jzWr/t7xNqW IWNDENGndSVolON8d4YRuJN/9LtsLQcI/xGt9iQj5oCkufTfALvBsgBmJfhPawGZim48wC 2laN4mtPYSOcufsX3SCHJkC/S7xlcVQiATQRmLjzA77KT/JRAw54XzGs5c+hnlzpxTekyA 0pXndbuhLVKsWd1dXMVitIePVCA7DxXZmTT3saNv/8XRjFFgbClayj7OxnmWfA== 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=1fdc3ba41b92cd3d3f07e571468e342e777ff32b commit 1fdc3ba41b92cd3d3f07e571468e342e777ff32b Author: John Baldwin AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:56 +0000 siis: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/siis/siis.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c index 93df7c4f1494..1724b400903f 100644 --- a/sys/dev/siis/siis.c +++ b/sys/dev/siis/siis.c @@ -423,7 +423,6 @@ siis_get_dma_tag(device_t bus, device_t child) return (bus_get_dma_tag(bus)); } -devclass_t siis_devclass; static device_method_t siis_methods[] = { DEVMETHOD(device_probe, siis_probe), DEVMETHOD(device_attach, siis_attach), @@ -439,12 +438,14 @@ static device_method_t siis_methods[] = { DEVMETHOD(bus_get_dma_tag, siis_get_dma_tag), { 0, 0 } }; + static driver_t siis_driver = { "siis", siis_methods, sizeof(struct siis_controller) }; -DRIVER_MODULE(siis, pci, siis_driver, siis_devclass, 0, 0); + +DRIVER_MODULE(siis, pci, siis_driver, 0, 0); MODULE_VERSION(siis, 1); MODULE_DEPEND(siis, cam, 1, 1, 1); @@ -627,7 +628,6 @@ siis_ch_resume(device_t dev) return (0); } -devclass_t siisch_devclass; static device_method_t siisch_methods[] = { DEVMETHOD(device_probe, siis_ch_probe), DEVMETHOD(device_attach, siis_ch_attach), @@ -636,12 +636,14 @@ static device_method_t siisch_methods[] = { DEVMETHOD(device_resume, siis_ch_resume), { 0, 0 } }; + static driver_t siisch_driver = { "siisch", siisch_methods, sizeof(struct siis_channel) }; -DRIVER_MODULE(siisch, siis, siisch_driver, siis_devclass, 0, 0); + +DRIVER_MODULE(siisch, siis, siisch_driver, 0, 0); static void siis_ch_led(void *priv, int onoff)