git: bdc3dca135c2 - main - hwpstate_amd(4): Style: End brace of struct initializers on new line
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jun 2026 21:37:49 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=bdc3dca135c239cbbce3a437f49bc4e08828833f
commit bdc3dca135c239cbbce3a437f49bc4e08828833f
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-06-26 14:15:57 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-06-26 21:36:50 +0000
hwpstate_amd(4): Style: End brace of struct initializers on new line
Fixes: 191f47bcd650 ("hwpstate_amd: Refactor the cpufreq code by using delegation pattenr")
MFC after: 2 weeks
Event: Halifax Hackathon 202606
Location: Dalhousie CS Faculty building
Sponsored by: The FreeBSD Foundation
---
sys/x86/cpufreq/hwpstate_amd.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c
index 08695da5638a..f9ba648e6e8c 100644
--- a/sys/x86/cpufreq/hwpstate_amd.c
+++ b/sys/x86/cpufreq/hwpstate_amd.c
@@ -1014,13 +1014,15 @@ static const struct hwpstate_cpufreq_methods cppc_methods = {
.get = hwpstate_get_cppc,
.set = hwpstate_set_cppc,
.settings = hwpstate_settings_cppc,
- .type = hwpstate_type_cppc };
+ .type = hwpstate_type_cppc
+};
static const struct hwpstate_cpufreq_methods pstate_methods = {
.get = hwpstate_get_pstate,
.set = hwpstate_set_pstate,
.settings = hwpstate_settings_pstate,
- .type = hwpstate_type_pstate };
+ .type = hwpstate_type_pstate
+};
static int
hwpstate_probe(device_t dev)