summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2015-05-16 20:06:39 +0000
committerrpaulo <rpaulo@FreeBSD.org>2015-05-16 20:06:39 +0000
commit709eb799b9586e0bcfe509997aa8601051d8141b (patch)
treedb484b57ba55c7067e01f3356ca5a80c731e5411 /sys/dev/acpi_support
parentc39608f0658f9e9048cb235c5693301adb9fe415 (diff)
downloadFreeBSD-src-709eb799b9586e0bcfe509997aa8601051d8141b.zip
FreeBSD-src-709eb799b9586e0bcfe509997aa8601051d8141b.tar.gz
acpi_ibm: whitespace.
Diffstat (limited to 'sys/dev/acpi_support')
-rw-r--r--sys/dev/acpi_support/acpi_ibm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c
index 52cee09..c69f8bf 100644
--- a/sys/dev/acpi_support/acpi_ibm.c
+++ b/sys/dev/acpi_support/acpi_ibm.c
@@ -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_softc *sc, int method)
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_softc *sc, int method)
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_ARGS)
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)
OpenPOWER on IntegriCloud