Skip to content

Commit 1dd72ce

Browse files
icojb25rafaeljw
authored andcommitted
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 <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent c676733 commit 1dd72ce

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

drivers/acpi/thermal.c

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,29 +1021,36 @@ static struct acpi_driver acpi_thermal_driver = {
10211021
.drv.pm = &acpi_thermal_pm,
10221022
};
10231023

1024-
static int thermal_act(const struct dmi_system_id *d) {
1024+
static int thermal_act(const struct dmi_system_id *d)
1025+
{
10251026
if (act == 0) {
10261027
pr_notice("%s detected: disabling all active thermal trip points\n",
10271028
d->ident);
10281029
act = -1;
10291030
}
10301031
return 0;
10311032
}
1032-
static int thermal_nocrt(const struct dmi_system_id *d) {
1033+
1034+
static int thermal_nocrt(const struct dmi_system_id *d)
1035+
{
10331036
pr_notice("%s detected: disabling all critical thermal trip point actions.\n",
10341037
d->ident);
10351038
crt = -1;
10361039
return 0;
10371040
}
1038-
static int thermal_tzp(const struct dmi_system_id *d) {
1041+
1042+
static int thermal_tzp(const struct dmi_system_id *d)
1043+
{
10391044
if (tzp == 0) {
10401045
pr_notice("%s detected: enabling thermal zone polling\n",
10411046
d->ident);
10421047
tzp = 300; /* 300 dS = 30 Seconds */
10431048
}
10441049
return 0;
10451050
}
1046-
static int thermal_psv(const struct dmi_system_id *d) {
1051+
1052+
static int thermal_psv(const struct dmi_system_id *d)
1053+
{
10471054
if (psv == 0) {
10481055
pr_notice("%s detected: disabling all passive thermal trip points\n",
10491056
d->ident);

0 commit comments

Comments
 (0)