From nobody Fri May 06 23:25:16 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 5295E1AD107A; Fri, 6 May 2022 23:25:18 +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 4Kw69n1mmHz3FJs; Fri, 6 May 2022 23:25:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879518; 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=7qzukiwBIv7QZ5EGq2e80lCrWqqqtdUZRfhGDC8u5Ic=; b=rkQJ5zSnCiMg1resrg0YQJYHEU8y7/KbwsWJKRrK1KgKSXjTolONSZKqk5bBZz2RuugiaJ /fjX2DR/2To33FXV1o/F/g9K+gJIrkJvYD6nKh0pigqy3i9D9SdiMOFiJZtPg3nitMTQkj +avwt+HzOy2dHwsIt3e8BBzqR8V6mzi0Mo0irfso6JFvSc8x6iWEIDAABuqu9mvHyJ9j2s //yIHxtgCVQKtS2Zk4KjpBV/pfsw3z2mSnqVqke6MPWxg74K0Q6iBuixqt5x0ZREE/38Bn 7UvAzx6S95gwZMk5Vlo+OFeSo8pQuFQP+D64Zl4w+I0PRCw0ymmq6oWRGzZ3Gw== 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 0B7B5250D2; Fri, 6 May 2022 23:25:17 +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 246NPGrj075671; Fri, 6 May 2022 23:25:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPGAs075670; Fri, 6 May 2022 23:25:16 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:16 GMT Message-Id: <202205062325.246NPGAs075670@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: 2fdcc2ef6f74 - main - cpufreq: Remove unused devclass argument 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: 2fdcc2ef6f74f308fbc412438777381c01f046a7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879517; 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=7qzukiwBIv7QZ5EGq2e80lCrWqqqtdUZRfhGDC8u5Ic=; b=lDfO5w1+AwW1xS0syHp6lCNHK1W4eOVNiF9RzxNS1hjZuRdm6OIxlV4141k1AnmyZ/dPy9 Ye+NQRE3TUtcELrQ+eSsoft9zUwgqZmJTJahCB+vg+TJULmPdx7IWMC7O6BaCympB4yS/b mvDOFQxqSIBikFw4b/1RGALxamuP+dlF2HPQK7hVM5VuSYfMN8Z8w0896fAxlYaUazgBmH FfH2pyM5eO06UVFrb5Ef2xX0KiJZxoW5JPMMaH3+0OliL3N4MrxGRYfwQaYwPpbbxrqrKL /nlsm0x5ufvPpEFIH1S/GPvs5RbXVmdcV99pEsWsb+MIvLDIddbSbqB+KzSSTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879517; a=rsa-sha256; cv=none; b=tmxJtagz2oLuYKqc4rTXQXiLblU+GkfSyxNQV6UrzlDhE+0IWWSVySgEs8AgikQtGOwusk nIu6eb3Z16PQvlx3ZcOXMV23WLmper2Z5B98sl4HAOOmmtgiSCp8HSpub4/64y1ZBCb1uK XnoK/lmwafVTnDMOCsXbgMrrl871viLAh6lT1VPqfxN0ZeX98/xRfh/2rqx54Q5yOXwycs ODhjp7FFS3CbPFQPqyhgE2RVW/2UulucnatLg7aV+9iiqBaUEPLrK7uEVenIx4iQZXTs61 wz8F5vEOP4WyARqoS38/w6ZESViUqtFm1MD0cbB4lO8eV9EuhuO9xROtG8Bsog== 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=2fdcc2ef6f74f308fbc412438777381c01f046a7 commit 2fdcc2ef6f74f308fbc412438777381c01f046a7 Author: John Baldwin AuthorDate: 2022-05-06 22:46:58 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:58 +0000 cpufreq: Remove unused devclass argument to DRIVER_MODULE. --- sys/kern/kern_cpu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_cpu.c b/sys/kern/kern_cpu.c index 61b014468292..37c0aa8aab6a 100644 --- a/sys/kern/kern_cpu.c +++ b/sys/kern/kern_cpu.c @@ -128,11 +128,12 @@ static device_method_t cpufreq_methods[] = { DEVMETHOD(cpufreq_levels, cf_levels_method), {0, 0} }; + static driver_t cpufreq_driver = { "cpufreq", cpufreq_methods, sizeof(struct cpufreq_softc) }; -static devclass_t cpufreq_dc; -DRIVER_MODULE(cpufreq, cpu, cpufreq_driver, cpufreq_dc, 0, 0); + +DRIVER_MODULE(cpufreq, cpu, cpufreq_driver, 0, 0); static int cf_lowest_freq; static int cf_verbose;