From nobody Mon May 9 19:23:19 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 A0F991AC3F28; Mon, 9 May 2022 19:23:21 +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 4KxrgC6Whfz3pPx; Mon, 9 May 2022 19:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124200; 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=RRLuLypP1ilRILEXMGAd0yJBHC6LM/FWh6ARdK3WOl4=; b=KYKpgYaZ5lOc+74NxZaAVoyTj+Y4o7MhxdFI8YYi4WfsPvmYDXL2P0+R/BcNND/QkEq/bm zD3MlghxZQzZTooQmuFWEFtrvaGo04Bfi5QJ+50zCcWc1oc+nlr+uTl26+yc4Ndkib0/N6 dXWt+CW8KDCYsHOmEaFG3cfgwCk9lC6BqujFxFkla8TiDkz+W48CwMEP5AdOK8FiwmhpVu pd9JDU2q+Ze7fgTB9v0oKAK2q+/hkeNzrvfFBedBMwceIiFn4r6FpPCQAogCm6stsFbj7u F3DAV2M1tSL2ro97cNjkpQ/IIaXlHYOKPtKi4KhxdEaH1knTtm1liTHrvcHqtg== 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 8991F1697F; Mon, 9 May 2022 19:23:19 +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 249JNJGd086023; Mon, 9 May 2022 19:23:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNJTp086022; Mon, 9 May 2022 19:23:19 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:19 GMT Message-Id: <202205091923.249JNJTp086022@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: ba58fd668a0e - main - p2sb: 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: ba58fd668a0e544b4af225f6dfee402e3213a8bf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124200; 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=RRLuLypP1ilRILEXMGAd0yJBHC6LM/FWh6ARdK3WOl4=; b=d+mj5VmyJ2u/M2M4AB/AztN/9ptvXoVe7e2XQJdz0LOduMli1UczjfOC0BwuFp+31m8Jp2 dDt2H4jc4i0BUgltwP2ZtccYanM82ETlnEzEmOjEUw5oL93diSN852VceHC9dWrddXxx18 0Fi7jKbMNR4lpn0ZtkclUq1z69N3RWsmd1lRAkOjJFnGeIleZ0+FwsRX7YkbsV9YP4eVcd VMrkpoBNVqHCOiBp/KoF2MGzFvPRThO3XVjeYMEvsrRM9X1fqjsXCzGY1ao9RdEVMZI38d oivdnkzF43bSDsxAo2bmZWcuVYii+omdZfxnlByRKjnB8TZ74Jq6t8II0c+m/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124200; a=rsa-sha256; cv=none; b=WrKhubFhN3tdwO/I/dRhMB1BH3eTfp71sAtnlxnq7mpGQLBRTv22o89R0aDx5uTxmNeb9t nUL2YmuOfPn89xaBKf9g4SjD5PpfehzagIV0LoB3uxJML5zGVz8+Y+kIqFOjZrfVUXeap5 VWeE3lSvfWJGTcDE1buoUIEKRZ1sDH9dkxuvDSPyXY5wo4HWOkA4oRMuep6PhXnUDXCfmK 0Rxx/AP9RA2/6LQVaTOT4JBufa/bINTHS68Z/lYsE4mU40DvX1DVNV/kNsZWPECfx09r39 dPBlF5ZBOo6H3HjXQUVySLEFguv4N2QrIjnBHfeoWsP/Ivh/k25LKU9A5DFKNw== 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=ba58fd668a0e544b4af225f6dfee402e3213a8bf commit ba58fd668a0e544b4af225f6dfee402e3213a8bf Author: John Baldwin AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:03 +0000 p2sb: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/p2sb/lewisburg_gpio.c | 4 +--- sys/dev/p2sb/lewisburg_gpiocm.c | 4 ++-- sys/dev/p2sb/p2sb.c | 4 +--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sys/dev/p2sb/lewisburg_gpio.c b/sys/dev/p2sb/lewisburg_gpio.c index d0b08520eb87..b45d7767602c 100644 --- a/sys/dev/p2sb/lewisburg_gpio.c +++ b/sys/dev/p2sb/lewisburg_gpio.c @@ -263,7 +263,5 @@ static driver_t lbggpio_driver = { sizeof(struct lbggpio_softc) }; -static devclass_t lbggpio_devclass; - -DRIVER_MODULE(lbggpio, lbggpiocm, lbggpio_driver, lbggpio_devclass, NULL, NULL); +DRIVER_MODULE(lbggpio, lbggpiocm, lbggpio_driver, NULL, NULL); MODULE_DEPEND(lbggpio, gpiobus, 1, 1, 1); diff --git a/sys/dev/p2sb/lewisburg_gpiocm.c b/sys/dev/p2sb/lewisburg_gpiocm.c index 4a046a50aed4..e46575217d92 100644 --- a/sys/dev/p2sb/lewisburg_gpiocm.c +++ b/sys/dev/p2sb/lewisburg_gpiocm.c @@ -347,5 +347,5 @@ static driver_t lbggpiocm_driver = { lbggpiocm_methods, sizeof(struct lbggpiocm_softc) }; -static devclass_t lbggpiocm_devclass; -DRIVER_MODULE(lbggpiocm, p2sb, lbggpiocm_driver, lbggpiocm_devclass, NULL, NULL); + +DRIVER_MODULE(lbggpiocm, p2sb, lbggpiocm_driver, NULL, NULL); diff --git a/sys/dev/p2sb/p2sb.c b/sys/dev/p2sb/p2sb.c index 80836cbb2f59..2f294f03158a 100644 --- a/sys/dev/p2sb/p2sb.c +++ b/sys/dev/p2sb/p2sb.c @@ -209,7 +209,5 @@ static device_method_t p2sb_methods[] = { DEVMETHOD_END }; -static devclass_t p2sb_devclass; - DEFINE_CLASS_0(p2sb, p2sb_driver, p2sb_methods, sizeof(struct p2sb_softc)); -DRIVER_MODULE(p2sb, pci, p2sb_driver, p2sb_devclass, 0, 0); +DRIVER_MODULE(p2sb, pci, p2sb_driver, 0, 0);