summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/pmu.c
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2011-12-05 14:13:21 +0000
committerjhibbits <jhibbits@FreeBSD.org>2011-12-05 14:13:21 +0000
commitb67e1da2b9a9732a4ee7a8177f463637f3ba74f2 (patch)
tree3c8b87c2b99bfc7556fd438277d854ad8221d5eb /sys/powerpc/powermac/pmu.c
parent298ffde66596a12229df0898bab02aa491f70535 (diff)
downloadFreeBSD-src-b67e1da2b9a9732a4ee7a8177f463637f3ba74f2.zip
FreeBSD-src-b67e1da2b9a9732a4ee7a8177f463637f3ba74f2.tar.gz
Fix style(9) issues from r228270.
Approved by: nwhitehorn (mentor)
Diffstat (limited to 'sys/powerpc/powermac/pmu.c')
-rw-r--r--sys/powerpc/powermac/pmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/powermac/pmu.c b/sys/powerpc/powermac/pmu.c
index ebadbef..9777004 100644
--- a/sys/powerpc/powermac/pmu.c
+++ b/sys/powerpc/powermac/pmu.c
@@ -702,14 +702,14 @@ pmu_intr(void *arg)
len - 3,&resp[3]);
}
if (resp[1] & PMU_INT_ENVIRONMENT) {
- // if the lid was just closed, notify devd.
+ /* if the lid was just closed, notify devd. */
if ((resp[2] & PMU_ENV_LID_CLOSED) && (!sc->lid_closed)) {
sc->lid_closed = 1;
if (devctl_process_running())
devctl_notify("PMU", "lid", "close", NULL);
}
else if (!(resp[2] & PMU_ENV_LID_CLOSED) && (sc->lid_closed)) {
- // if the lid was just opened, notify devd.
+ /* if the lid was just opened, notify devd. */
if (devctl_process_running())
devctl_notify("PMU", "lid", "open", NULL);
sc->lid_closed = 0;
OpenPOWER on IntegriCloud