svn commit: r283012 - head/sys/dev/acpi_support
Rui Paulo
rpaulo at FreeBSD.org
Sat May 16 20:06:40 UTC 2015
Author: rpaulo
Date: Sat May 16 20:06:39 2015
New Revision: 283012
URL: https://svnweb.freebsd.org/changeset/base/283012
Log:
acpi_ibm: whitespace.
Modified:
head/sys/dev/acpi_support/acpi_ibm.c
Modified: head/sys/dev/acpi_support/acpi_ibm.c
==============================================================================
--- head/sys/dev/acpi_support/acpi_ibm.c Sat May 16 20:04:49 2015 (r283011)
+++ head/sys/dev/acpi_support/acpi_ibm.c Sat May 16 20:06:39 2015 (r283012)
@@ -530,7 +530,7 @@ acpi_ibm_sysctl(SYSCTL_HANDLER_ARGS)
int error = 0;
int function;
int method;
-
+
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
sc = (struct acpi_ibm_softc *)oidp->oid_arg1;
@@ -823,7 +823,7 @@ acpi_ibm_sysctl_init(struct acpi_ibm_sof
return (FALSE);
case ACPI_IBM_METHOD_FANSPEED:
- /*
+ /*
* Some models report the fan speed in levels from 0-7
* Newer models report it contiguously
*/
@@ -834,7 +834,7 @@ acpi_ibm_sysctl_init(struct acpi_ibm_sof
case ACPI_IBM_METHOD_FANLEVEL:
case ACPI_IBM_METHOD_FANSTATUS:
- /*
+ /*
* Fan status is only supported on those models,
* which report fan RPM contiguously, not in levels
*/
@@ -871,10 +871,10 @@ acpi_ibm_thermal_sysctl(SYSCTL_HANDLER_A
for (int i = 0; i < 8; ++i) {
temp_cmd[3] = '0' + i;
-
- /*
+
+ /*
* The TMPx methods seem to return +/- 128 or 0
- * when the respecting sensor is not available
+ * when the respecting sensor is not available
*/
if (ACPI_FAILURE(acpi_GetInteger(sc->ec_handle, temp_cmd,
&temp[i])) || ABS(temp[i]) == 128 || temp[i] == 0)
More information about the svn-src-head
mailing list