diff options
author | 2007-12-18 08:48:22 +0000 | |
---|---|---|
committer | 2007-12-18 08:48:22 +0000 | |
commit | b9d5acb9b95e933df1e7ce18aba6a9389c0e8064 (patch) | |
tree | 2e56576866385757582dd0bc066833e2dd998460 | |
parent | add power.4, and link to it where needed. (diff) | |
download | wireguard-openbsd-b9d5acb9b95e933df1e7ce18aba6a9389c0e8064.tar.xz wireguard-openbsd-b9d5acb9b95e933df1e7ce18aba6a9389c0e8064.zip |
- powerbutton -> power button
- minor knf nit (suggested by miod@)
-rw-r--r-- | sys/arch/sgi/dev/power.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sgi/dev/power.c b/sys/arch/sgi/dev/power.c index cabfd435a4f..0a01f05f2d0 100644 --- a/sys/arch/sgi/dev/power.c +++ b/sys/arch/sgi/dev/power.c @@ -1,4 +1,4 @@ -/* $OpenBSD: power.c,v 1.1 2007/12/18 08:29:02 jasper Exp $ */ +/* $OpenBSD: power.c,v 1.2 2007/12/18 08:48:22 jasper Exp $ */ /* * Copyright (c) 2007 Jasper Lievisse Adriaanse <jasper@openbsd.org> @@ -35,7 +35,7 @@ #include <sgi/localbus/macebus.h> /* - * Powerbutton driver for the SGI O2 + * Power button driver for the SGI O2 */ #define DS1687_EXT_CTRL 0x4a @@ -67,7 +67,7 @@ power_match(struct device *parent, void *match, void *aux) { struct confargs *ca = aux; - /* Powerbutton only on SGI_O2, for now that is */ + /* Power button only on SGI_O2, for now that is */ if (ca->ca_sys == SGI_O2) return (1); @@ -134,9 +134,9 @@ power_intr(void *arg) psignal(initproc, SIGUSR2); } - return(1); + return (1); } - return(0); + return (0); } |