diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-02-24 17:38:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-02-24 17:38:40 +0000 |
commit | e7c4958d0b57a5e94a00cf3b361e82e078453bfe (patch) | |
tree | 84c8fa73515ce9afb34c206af77f64cdba3ebb78 | |
parent | c83aee79446f2d21327fcaa18fed7bf84be959b7 (diff) |
spacing
-rw-r--r-- | sys/arch/loongson/dev/kb3310.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/loongson/dev/kb3310.c b/sys/arch/loongson/dev/kb3310.c index 7bc4ec29ad0..e445bda5ba0 100644 --- a/sys/arch/loongson/dev/kb3310.c +++ b/sys/arch/loongson/dev/kb3310.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kb3310.c,v 1.2 2010/02/23 21:59:38 otto Exp $ */ +/* $OpenBSD: kb3310.c,v 1.3 2010/02/24 17:38:39 deraadt Exp $ */ /* * Copyright (c) 2010 Otto Moerbeek <otto@drijf.net> * @@ -116,7 +116,7 @@ ykbec_attach( struct device *parent, struct device *self, void *aux) sizeof(sc->sc_sensor[3].desc)); sensor_attach(&sc->sc_sensordev, &sc->sc_sensor[3]); - sc->sc_sensor[4].type = SENSOR_VOLTS_DC; + sc->sc_sensor[4].type = SENSOR_VOLTS_DC; strlcpy(sc->sc_sensor[4].desc, "Battery design voltage", sizeof(sc->sc_sensor[4].desc)); sensor_attach(&sc->sc_sensordev, &sc->sc_sensor[4]); @@ -250,7 +250,7 @@ ykbec_refresh(void *arg) int current; val = ykbec_read16(sc, REG_FAN_SPEED_HIGH); - if (val != 0) + if (val != 0) val = KB3310_FAN_SPEED_DIVIDER / val; else val = UINT_MAX; |