From nobody Mon May 09 21:47:39 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 D8FB71AC95C9; Mon, 9 May 2022 21:47:40 +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 4Kxvsm0pvkz3Gl9; Mon, 9 May 2022 21:47:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132860; 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=+OykGxxmoikdym6j+afrK0H8ovpLAbgVWaT1X/OnNsE=; b=LeYBixKq16JQKIAWUal8W9czm2ypO3E6oKBE6ctWk9UtGF/wMcee4NkBnqQNPcOBqiaJji FH6nUOqAVN0yCME6hTAvHbHaFlLpcgQ90Qeq8YfSPqdHCmxhaLuFFOQODBPEo3QGqdQmR/ dSdeVmtVmiQRCKGtBdWrFbMwjAz2FXZV2/VG2ClYNsjMLzrFAYkCavjbnhNX+sxQ4G/zO/ e7UEpbNGpMP0kJ6xHuxXhRDo4/gNkCD5kAQ3Ot34SjJGj+mC6CB0zwWyTL8nB65E/SVs6g XksDYrxa6d/1PBqXmFrBMHithnZ85PFBWZTn0PvvKZnogkeNA5zKSv63BgVzOg== 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 DCF9218BF0; Mon, 9 May 2022 21:47:39 +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 249LldqX079950; Mon, 9 May 2022 21:47:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Lldrj079949; Mon, 9 May 2022 21:47:39 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:39 GMT Message-Id: <202205092147.249Lldrj079949@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: b440e459a71a - main - extres drivers: 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: b440e459a71ad8a7a6778b60966d8ef7cdf95c99 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132860; 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=+OykGxxmoikdym6j+afrK0H8ovpLAbgVWaT1X/OnNsE=; b=iN6F0Jb1Cnkr4ivXoQh0ZGUJgyiTxGH1cd4rS6h4145Hpvw2dZCp9pg1vFuz1t08bTlT25 qDKVZ9E8Dr8cDqyn6nGBpHol8tvyL3vJol+bUn0hpQ2nrsGTjPVPtNJLty/bBKJx2NQEJj BW/CeY7bbXG2RLwitAWuzsFhW0syvo3MPF8bM1Da65hsJubVVVSbeJz8Cls6a5zaU+I6dz mosnskhmlfqvgWpm8CzNjyXWQX7YnWGiY/UPj/ZdMw3c2Mt1FV1KUJDIVn6L/EcELT/v3b l7DvHxckhhSWfuflwUp0b8gLlUJjE1w/WlyNtqqQfHWZGjq2qSKtOLhNn+YGHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132860; a=rsa-sha256; cv=none; b=ISjsaAdpuDFV/xzpKKTs5Mnnn0NvswRIrTDX+0IE7bANiNdnxXW2emINLojat8zN1WbTou Z/jOriGBUy+SOcof+Rjev5G0VpwUpAYxEhNde6WXoC3hxwGs2fsi+6APNhKBNI/Wsgc9/j EwHTMh1/YRtF7XpKDEptvvDQTm8mj/I1R2Eni75zr9KfzTwEtxi417jEB2Tt7O5L0iAksx XyBTgT8hcFp9WmHbzF41sS+4SboVcfJBScj5/AFEak/4hBoauUUxQcNgjj4D5hwwDSWGUb V92PRMVbKZcYEHy4Q5hg8lxgAyY7eb4kX8wxopeeG3LCXVpUdOXYmmnjZKnsaQ== 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=b440e459a71ad8a7a6778b60966d8ef7cdf95c99 commit b440e459a71ad8a7a6778b60966d8ef7cdf95c99 Author: John Baldwin AuthorDate: 2022-05-09 21:26:44 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:44 +0000 extres drivers: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/extres/clk/clk_bus.c | 5 ++--- sys/dev/extres/clk/clk_fixed.c | 5 ++--- sys/dev/extres/regulator/regulator_bus.c | 3 +-- sys/dev/extres/regulator/regulator_fixed.c | 4 +--- sys/dev/extres/syscon/syscon_generic.c | 5 ++--- sys/dev/extres/syscon/syscon_power.c | 4 +--- 6 files changed, 9 insertions(+), 17 deletions(-) diff --git a/sys/dev/extres/clk/clk_bus.c b/sys/dev/extres/clk/clk_bus.c index e083ed0595d4..34e147188546 100644 --- a/sys/dev/extres/clk/clk_bus.c +++ b/sys/dev/extres/clk/clk_bus.c @@ -85,7 +85,6 @@ static device_method_t ofw_clkbus_methods[] = { DEFINE_CLASS_1(ofw_clkbus, ofw_clkbus_driver, ofw_clkbus_methods, sizeof(struct ofw_clkbus_softc), simplebus_driver); -static devclass_t ofw_clkbus_devclass; -EARLY_DRIVER_MODULE(ofw_clkbus, simplebus, ofw_clkbus_driver, - ofw_clkbus_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(ofw_clkbus, simplebus, ofw_clkbus_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); MODULE_VERSION(ofw_clkbus, 1); diff --git a/sys/dev/extres/clk/clk_fixed.c b/sys/dev/extres/clk/clk_fixed.c index fd20bb61e9df..a38d444c5a29 100644 --- a/sys/dev/extres/clk/clk_fixed.c +++ b/sys/dev/extres/clk/clk_fixed.c @@ -274,9 +274,8 @@ static device_method_t clk_fixed_methods[] = { DEFINE_CLASS_0(clk_fixed, clk_fixed_driver, clk_fixed_methods, sizeof(struct clk_fixed_softc)); -static devclass_t clk_fixed_devclass; -EARLY_DRIVER_MODULE(clk_fixed, simplebus, clk_fixed_driver, - clk_fixed_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(clk_fixed, simplebus, clk_fixed_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); MODULE_VERSION(clk_fixed, 1); #endif diff --git a/sys/dev/extres/regulator/regulator_bus.c b/sys/dev/extres/regulator/regulator_bus.c index bac88904a543..076c64bbc114 100644 --- a/sys/dev/extres/regulator/regulator_bus.c +++ b/sys/dev/extres/regulator/regulator_bus.c @@ -81,7 +81,6 @@ static device_method_t ofw_regulator_bus_methods[] = { DEFINE_CLASS_1(ofw_regulator_bus, ofw_regulator_bus_driver, ofw_regulator_bus_methods, sizeof(struct ofw_regulator_bus_softc), simplebus_driver); -static devclass_t ofw_regulator_bus_devclass; EARLY_DRIVER_MODULE(ofw_regulator_bus, simplebus, ofw_regulator_bus_driver, - ofw_regulator_bus_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); + 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); MODULE_VERSION(ofw_regulator_bus, 1); diff --git a/sys/dev/extres/regulator/regulator_fixed.c b/sys/dev/extres/regulator/regulator_fixed.c index 3bf9efbd5e6a..176d79867e07 100644 --- a/sys/dev/extres/regulator/regulator_fixed.c +++ b/sys/dev/extres/regulator/regulator_fixed.c @@ -507,10 +507,8 @@ static device_method_t regfix_methods[] = { DEVMETHOD_END }; -static devclass_t regfix_devclass; DEFINE_CLASS_0(regfix, regfix_driver, regfix_methods, sizeof(struct regfix_softc)); -EARLY_DRIVER_MODULE(regfix, simplebus, regfix_driver, - regfix_devclass, 0, 0, BUS_PASS_BUS); +EARLY_DRIVER_MODULE(regfix, simplebus, regfix_driver, 0, 0, BUS_PASS_BUS); #endif /* FDT */ diff --git a/sys/dev/extres/syscon/syscon_generic.c b/sys/dev/extres/syscon/syscon_generic.c index 12b0ca446a5c..02863468b9ad 100644 --- a/sys/dev/extres/syscon/syscon_generic.c +++ b/sys/dev/extres/syscon/syscon_generic.c @@ -232,8 +232,7 @@ static device_method_t syscon_generic_dmethods[] = { DEFINE_CLASS_1(syscon_generic_dev, syscon_generic_driver, syscon_generic_dmethods, sizeof(struct syscon_generic_softc), simplebus_driver); -static devclass_t syscon_generic_devclass; -EARLY_DRIVER_MODULE(syscon_generic, simplebus, syscon_generic_driver, - syscon_generic_devclass, 0, 0, BUS_PASS_DEFAULT); +EARLY_DRIVER_MODULE(syscon_generic, simplebus, syscon_generic_driver, 0, 0, + BUS_PASS_DEFAULT); MODULE_VERSION(syscon_generic, 1); diff --git a/sys/dev/extres/syscon/syscon_power.c b/sys/dev/extres/syscon/syscon_power.c index 586af0102713..0cc9c7969a16 100644 --- a/sys/dev/extres/syscon/syscon_power.c +++ b/sys/dev/extres/syscon/syscon_power.c @@ -192,7 +192,5 @@ static device_method_t syscon_power_methods[] = { DEFINE_CLASS_0(syscon_power, syscon_power_driver, syscon_power_methods, sizeof(struct syscon_power_softc)); -static devclass_t syscon_power_devclass; -DRIVER_MODULE(syscon_power, simplebus, syscon_power_driver, - syscon_power_devclass, NULL, NULL); +DRIVER_MODULE(syscon_power, simplebus, syscon_power_driver, NULL, NULL);