diff options
author | Jonathan Bergh <bergh.jonathan@gmail.com> | 2023-09-29 00:13:44 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-03 20:55:22 +0200 |
commit | 1dd72ce0c125110033e65051c9f8b2676e425cfd (patch) | |
tree | e185517c3716352b6cdcd4beac31aa65fb55c92e /drivers/acpi/thermal.c | |
parent | c6767334185e50121b66eae9f882d2832d2d2ad1 (diff) | |
download | linux-1dd72ce0c125110033e65051c9f8b2676e425cfd.tar.gz linux-1dd72ce0c125110033e65051c9f8b2676e425cfd.tar.bz2 linux-1dd72ce0c125110033e65051c9f8b2676e425cfd.zip |
ACPI: thermal: Fix up function header formatting in two places
Fix up the following formatting issues:
* braces following function declarations should be on a new line
* empty line should be present between function declarations
Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 17bcf4185fef..c01ba4ad8009 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c @@ -1021,7 +1021,8 @@ static struct acpi_driver acpi_thermal_driver = { .drv.pm = &acpi_thermal_pm, }; -static int thermal_act(const struct dmi_system_id *d) { +static int thermal_act(const struct dmi_system_id *d) +{ if (act == 0) { pr_notice("%s detected: disabling all active thermal trip points\n", d->ident); @@ -1029,13 +1030,17 @@ static int thermal_act(const struct dmi_system_id *d) { } return 0; } -static int thermal_nocrt(const struct dmi_system_id *d) { + +static int thermal_nocrt(const struct dmi_system_id *d) +{ pr_notice("%s detected: disabling all critical thermal trip point actions.\n", d->ident); crt = -1; return 0; } -static int thermal_tzp(const struct dmi_system_id *d) { + +static int thermal_tzp(const struct dmi_system_id *d) +{ if (tzp == 0) { pr_notice("%s detected: enabling thermal zone polling\n", d->ident); @@ -1043,7 +1048,9 @@ static int thermal_tzp(const struct dmi_system_id *d) { } return 0; } -static int thermal_psv(const struct dmi_system_id *d) { + +static int thermal_psv(const struct dmi_system_id *d) +{ if (psv == 0) { pr_notice("%s detected: disabling all passive thermal trip points\n", d->ident); |