git: a31b0c0c47d8 - main - asmc: Style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 May 2022 15:33:54 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=a31b0c0c47d8d976a063a0f2a51d456c6da66f22
commit a31b0c0c47d8d976a063a0f2a51d456c6da66f22
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-05-04 14:54:33 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-05-04 15:31:01 +0000
asmc: Style
MFC after: 2 weeks
---
sys/dev/asmc/asmc.c | 18 +++++++++---------
sys/dev/asmc/asmcvar.h | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index 60c04a566088..9f18c7271042 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -271,14 +271,14 @@ static const struct asmc_model asmc_models[] = {
ASMC_MM_TEMPS, ASMC_MM_TEMPNAMES, ASMC_MM_TEMPDESCS
},
- /* The Mac Mini 2,1 has no SMS */
- {
- "Macmini2,1", "Apple SMC Mac Mini 2,1",
- ASMC_SMS_FUNCS_DISABLED,
- ASMC_FAN_FUNCS,
- ASMC_LIGHT_FUNCS_DISABLED,
- ASMC_MM21_TEMPS, ASMC_MM21_TEMPNAMES, ASMC_MM21_TEMPDESCS
- },
+ /* The Mac Mini 2,1 has no SMS */
+ {
+ "Macmini2,1", "Apple SMC Mac Mini 2,1",
+ ASMC_SMS_FUNCS_DISABLED,
+ ASMC_FAN_FUNCS,
+ ASMC_LIGHT_FUNCS_DISABLED,
+ ASMC_MM21_TEMPS, ASMC_MM21_TEMPNAMES, ASMC_MM21_TEMPDESCS
+ },
/* The Mac Mini 3,1 has no SMS */
{
@@ -290,7 +290,7 @@ static const struct asmc_model asmc_models[] = {
},
/* The Mac Mini 4,1 (Mid-2010) has no SMS */
- {
+ {
"Macmini4,1", "Apple SMC Mac mini 4,1 (Mid-2010)",
ASMC_SMS_FUNCS_DISABLED,
ASMC_FAN_FUNCS,
diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h
index 47550fb7691e..55f309208bf2 100644
--- a/sys/dev/asmc/asmcvar.h
+++ b/sys/dev/asmc/asmcvar.h
@@ -348,7 +348,7 @@ struct asmc_softc {
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \
"Ts1S" }
-#define ASMC_MBP113_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \
+#define ASMC_MBP113_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \