From nobody Mon May 09 21:47:40 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 801121AC9995; Mon, 9 May 2022 21:47:42 +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 4Kxvsn1xzsz3GlH; Mon, 9 May 2022 21:47:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132861; 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=Di6UbFK/tTT2ys8r+SR8CYzsa3Zp31KpdV9nP0OgvFw=; b=Zvaz/mdsgjhU9IhGDSmpYA3jR/HTqEEGNv3hmjBV2bVpJDU7ko0umR8y+HNrYDItqWaD9A FDHodDll3Jgf8TQFekbR2znpbTuxd7XeQgbNFKWH29sYRA4gtBvKe0eQslTbFkWsOIAc65 GHHFLJcZTW5YhTB9ZmG3wixcYtDbuQpUArmNG5/7gs9aC//GZ3tPbbtzvYTn28kv5yZkRc d4QOfl1IjnUnLF/xPrL7gy6pQ3zp/bfkV6rzd4NYFIWmHCMFjl/z8wW0qasp2xk4yXu6/1 q1LBIQMHPaSMqfnIWkE13Mq/AmDePZrBa0Ald8D4EipdE695YVhleP440bPyhg== 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 0DBFC18AF8; Mon, 9 May 2022 21:47:41 +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 249LleSi079977; Mon, 9 May 2022 21:47:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Llesx079976; Mon, 9 May 2022 21:47:40 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:40 GMT Message-Id: <202205092147.249Llesx079976@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: 0a73fdb90382 - main - fdt simple drivers: 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: 0a73fdb903822d04798de6a8af9c34ea90ee4306 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132861; 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=Di6UbFK/tTT2ys8r+SR8CYzsa3Zp31KpdV9nP0OgvFw=; b=lqDK7P6dqzGVwMlt3AxzyNCS34Tx4dmM2vMnrLUT1tpiMt1nv0LMuAslCDJ0mTtYNwtv2l I4Qyye0uVRBHQzQwTkWwdU917hHP/81zNF3/esAq86is/2VK4qOcJ2ifk/bAvrc59npdlj fQJ/6TJEr/RUppEZuu8NtYEif1KJPTHbRES6t77Yjv1NOFooA5XcHm04yYI+OfGBUM/qDl fLFPT6xufm7Hf6+IIcfMcLg1pUkhIlopdMFIgtyZ+ImuaSDdrTutTpU6xOt99Nvt+DmD01 W2pHgo+dZkjk0BEJLzbFUgL16sEBkpfcl2p4+bReaNk5sURnIM36VOL8/5qNrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132861; a=rsa-sha256; cv=none; b=ibbhmFNexgdqIryXvdfQyJ9g07evy43l2jI/tQD3cLQVbDfZ/H0LuLoaodC8C37XoT0lpt h0N+E4D6ZN6rfK5SQML12UcLiye9/6eaxhj3+bmigkHaDnJoHF7YiLfeloCGuKIfCeUD6g SjCRle6fTFLAhPBQ+S1R8nUfzIWxI6XWu+wEL2QwlQHhPDDAjvbQegjZbTTJ7VLCcXw3ND 0xZgxaA3/ANkP3u4ZwuRnGMB4fIEJs4IXWEvW/o+5FxuF8HxBeqinrDYtXIt3Rw/ZFdsjK kFeLmHD8W3+ABOJQ3AZV9NzPPMLzo5WF6PJxSMnaP+oVNmS3bmYS3tvrq0qi/w== 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=0a73fdb903822d04798de6a8af9c34ea90ee4306 commit 0a73fdb903822d04798de6a8af9c34ea90ee4306 Author: John Baldwin AuthorDate: 2022-05-09 21:26:44 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:44 +0000 fdt simple drivers: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/fdt/simple_mfd.c | 6 ++---- sys/dev/fdt/simplebus.c | 8 +++----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/sys/dev/fdt/simple_mfd.c b/sys/dev/fdt/simple_mfd.c index aedada3079e8..da70bc823d03 100644 --- a/sys/dev/fdt/simple_mfd.c +++ b/sys/dev/fdt/simple_mfd.c @@ -320,8 +320,6 @@ static device_method_t simple_mfd_methods[] = { DEFINE_CLASS_1(simple_mfd, simple_mfd_driver, simple_mfd_methods, sizeof(struct simple_mfd_softc), simplebus_driver); -static devclass_t simple_mfd_devclass; - -EARLY_DRIVER_MODULE(simple_mfd, simplebus, simple_mfd_driver, - simple_mfd_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_LATE); +EARLY_DRIVER_MODULE(simple_mfd, simplebus, simple_mfd_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_LATE); MODULE_VERSION(simple_mfd, 1); diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c index b5a10f83055c..ed472f87b57d 100644 --- a/sys/dev/fdt/simplebus.c +++ b/sys/dev/fdt/simplebus.c @@ -109,11 +109,9 @@ static device_method_t simplebus_methods[] = { DEFINE_CLASS_0(simplebus, simplebus_driver, simplebus_methods, sizeof(struct simplebus_softc)); -static devclass_t simplebus_devclass; -EARLY_DRIVER_MODULE(simplebus, ofwbus, simplebus_driver, simplebus_devclass, - 0, 0, BUS_PASS_BUS); -EARLY_DRIVER_MODULE(simplebus, simplebus, simplebus_driver, simplebus_devclass, - 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(simplebus, ofwbus, simplebus_driver, 0, 0, BUS_PASS_BUS); +EARLY_DRIVER_MODULE(simplebus, simplebus, simplebus_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); static int simplebus_probe(device_t dev)