git: 180ab9d85b4a - stable/13 - asmc: Style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 May 2022 21:27:26 UTC
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=180ab9d85b4a018198c454c33cdb8e1f8ff62e2b commit 180ab9d85b4a018198c454c33cdb8e1f8ff62e2b Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-05-04 14:54:33 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-05-18 21:15:56 +0000 asmc: Style (cherry picked from commit a31b0c0c47d8d976a063a0f2a51d456c6da66f22) --- 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 c70479b47822..c55abe2ab09d 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", \