From nobody Mon May 9 19:23:18 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 58A281AC3E90; Mon, 9 May 2022 19:23:19 +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 4KxrgC1flYz3pST; Mon, 9 May 2022 19:23:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124199; 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=4g5Jg7L5UdTRYk8RlwROfrS2DtrCD2uH/faKBi/fnEY=; b=UJxuVBGT/v2e4H/6+9z0Wt4ItRoFjci3lzx09h7jRLFXqKeeOTPg9/VQcrNgMMDp+j+7ar Ieu2QrEASygR/i3HwMkXIUN57CSfdl054tu5c0ksEvuEuURXc/P2/Ju23Uc+19RrEJSt5I k/XoSWSln8Mu+Pb0sO2z0ih2jv4wTUkMYmE1ZRrOckpThZbzF0Yc8HJoMRznOWhs5kIi9l T1UUoLVN4lkDPdjed0oHRDPSLSr0TR+SMXVnrZ+VxdVMB18Jq1HU4uOY71lTNmbD3xL7a0 +5q4w+FHqEbITMrnLRTeT5LeF7JS5eRTn0X8xv/1nWKsWUI53G4588ufaLB9dA== 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 6E71416E19; Mon, 9 May 2022 19:23:18 +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 249JNI4Y085999; Mon, 9 May 2022 19:23:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNIkM085998; Mon, 9 May 2022 19:23:18 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:18 GMT Message-Id: <202205091923.249JNIkM085998@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: ffd39155e1d7 - main - ow: Remove unused devclass arguments 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: ffd39155e1d7c368f8168a4a218d68500fe0d176 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124199; 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=4g5Jg7L5UdTRYk8RlwROfrS2DtrCD2uH/faKBi/fnEY=; b=OVLx6GASxCedwXRVRd9Ker75a+drdiQxRj1XsscXLfKf5r4fItYi2mEobcaClAEuMYWXgU 5gc8f1m/50sOeQYnG443FrFvpHJb26256J9F1wBFZR7mR2gfhVzFX4vTgPGqWOcIlHlj4S p0izsN8xjTtpyE6eoeJJPaNA4+7zIJSfARi9/pQyRoKuErsXxL8fbqWUMvt7zSS/zlLln9 zgi13Ao0qdT2rLnYwPXKmCbkatFNIclxGjZWY46Dziv6LbavB3XWF3Dipza8/aI1bRou9y uv5MaGBpRExcEBGtyHCzviYmm5mHIaZYhsQvGO7uFgr1qjlm/wLbPSU/Q2elIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124199; a=rsa-sha256; cv=none; b=wlL5DbUR9ixVT3rth/JzAIClgGszEZfNi1kQLyUdkk2WbJOc6f5cjxGIrHF0g3PJFPaY/J ADe7KhK2ia1uKeQA1OHi7mbdRxO7yfneQkPbhkgqKaZDmdBEbz/lLsXUnxa1ehnvdWmMHE 7BtQqx4u9KlGc9braijmn6zzpkn+m21agO4V7quxpPk0J+pVXaNRVNeNWN4eKnHF1+cVeT VKLLjodxdZwRTb53/d+ORwjrFFzq7X8mXagVg2YrtfXfP+sN6YdMzrK6NnlzZmkQlevjcR aJ7Ma5P+Vkhs4DpiXdMO0Ey79ANZlocVUzN5Pu3fNbRRfe7sTh+mMsu4qD57tg== 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=ffd39155e1d7c368f8168a4a218d68500fe0d176 commit ffd39155e1d7c368f8168a4a218d68500fe0d176 Author: John Baldwin AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:03 +0000 ow: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/ow/ow.c | 4 +--- sys/dev/ow/ow_temp.c | 4 +--- sys/dev/ow/owc_gpiobus.c | 6 ++---- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/sys/dev/ow/ow.c b/sys/dev/ow/ow.c index c39f559c5699..0502f64ae6f0 100644 --- a/sys/dev/ow/ow.c +++ b/sys/dev/ow/ow.c @@ -699,8 +699,6 @@ ow_release_bus(device_t ndev, device_t pdev) OW_UNLOCK(sc); } -devclass_t ow_devclass; - static device_method_t ow_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ow_probe), @@ -728,5 +726,5 @@ static driver_t ow_driver = { sizeof(struct ow_softc), }; -DRIVER_MODULE(ow, owc, ow_driver, ow_devclass, 0, 0); +DRIVER_MODULE(ow, owc, ow_driver, 0, 0); MODULE_VERSION(ow, 1); diff --git a/sys/dev/ow/ow_temp.c b/sys/dev/ow/ow_temp.c index f1f34d7e71f4..ff7dc2430d4e 100644 --- a/sys/dev/ow/ow_temp.c +++ b/sys/dev/ow/ow_temp.c @@ -264,8 +264,6 @@ ow_temp_detach(device_t dev) return 0; } -devclass_t ow_temp_devclass; - static device_method_t ow_temp_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ow_temp_probe), @@ -280,5 +278,5 @@ static driver_t ow_temp_driver = { sizeof(struct ow_temp_softc), }; -DRIVER_MODULE(ow_temp, ow, ow_temp_driver, ow_temp_devclass, 0, 0); +DRIVER_MODULE(ow_temp, ow, ow_temp_driver, 0, 0); MODULE_DEPEND(ow_temp, ow, 1, 1, 1); diff --git a/sys/dev/ow/owc_gpiobus.c b/sys/dev/ow/owc_gpiobus.c index 4b8b2ab6f99e..467fc0d28c08 100644 --- a/sys/dev/ow/owc_gpiobus.c +++ b/sys/dev/ow/owc_gpiobus.c @@ -371,8 +371,6 @@ owc_gpiobus_reset_and_presence(device_t dev, struct ow_timing *t, int *bit) return (0); } -static devclass_t owc_gpiobus_devclass; - static device_method_t owc_gpiobus_methods[] = { /* Device interface */ DEVMETHOD(device_probe, owc_gpiobus_probe), @@ -393,10 +391,10 @@ static driver_t owc_gpiobus_driver = { }; #ifdef FDT -DRIVER_MODULE(owc_gpiobus, simplebus, owc_gpiobus_driver, owc_gpiobus_devclass, 0, 0); +DRIVER_MODULE(owc_gpiobus, simplebus, owc_gpiobus_driver, 0, 0); #endif -DRIVER_MODULE(owc_gpiobus, gpiobus, owc_gpiobus_driver, owc_gpiobus_devclass, 0, 0); +DRIVER_MODULE(owc_gpiobus, gpiobus, owc_gpiobus_driver, 0, 0); MODULE_DEPEND(owc_gpiobus, ow, 1, 1, 1); MODULE_DEPEND(owc_gpiobus, gpiobus, 1, 1, 1); MODULE_VERSION(owc_gpiobus, 1);