diff options
| author | plunky <plunky@NetBSD.org> | 2007-03-13 19:26:06 +0000 |
|---|---|---|
| committer | plunky <plunky@NetBSD.org> | 2007-03-13 19:26:06 +0000 |
| commit | 07ed1bdaa3633ccbfacc10df31f84b2966f8ca78 (patch) | |
| tree | bb1b612822a1b31c3482da1b5b5e366ece0f25c8 /sys/dev/bluetooth | |
| parent | 4b9be68be920837dbf83a7e0f599b71d0d233f97 (diff) | |
remove extraneous whitespace
Diffstat (limited to 'sys/dev/bluetooth')
| -rw-r--r-- | sys/dev/bluetooth/bthub.c | 14 | ||||
| -rw-r--r-- | sys/dev/bluetooth/btsco.c | 6 | ||||
| -rw-r--r-- | sys/dev/bluetooth/btuart.c | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/sys/dev/bluetooth/bthub.c b/sys/dev/bluetooth/bthub.c index 7e597cc5a5a..d82d8ab021c 100644 --- a/sys/dev/bluetooth/bthub.c +++ b/sys/dev/bluetooth/bthub.c @@ -1,4 +1,4 @@ -/* $NetBSD: bthub.c,v 1.9 2007/03/04 06:01:45 christos Exp $ */ +/* $NetBSD: bthub.c,v 1.10 2007/03/13 19:26:06 plunky Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bthub.c,v 1.9 2007/03/04 06:01:45 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bthub.c,v 1.10 2007/03/13 19:26:06 plunky Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -198,7 +198,7 @@ bthub_pioctl(dev_t devno, unsigned long cmd, prop_dictionary_t dict, sc = (struct bthub_softc *)bthub_cd.cd_devs[unit]; if (sc == NULL) continue; - + prop = device_properties(&sc->sc_dev); obj = prop_dictionary_get(prop, BTDEVladdr); if (prop_data_equals(laddr, obj)) @@ -208,7 +208,7 @@ bthub_pioctl(dev_t devno, unsigned long cmd, prop_dictionary_t dict, /* validate remote address */ raddr = prop_dictionary_get(dict, BTDEVraddr); if (prop_data_size(raddr) != sizeof(bdaddr_t) - || bdaddr_any(prop_data_data_nocopy(raddr))) + || bdaddr_any(prop_data_data_nocopy(raddr))) return EINVAL; /* validate service name */ @@ -233,12 +233,12 @@ bthub_pioctl(dev_t devno, unsigned long cmd, prop_dictionary_t dict, switch (cmd) { case BTDEV_ATTACH: /* attach BTDEV */ - if (dev != NULL) + if (dev != NULL) return EADDRINUSE; dev = (struct btdev *)config_found((struct device *)sc, dict, bthub_print); - if (dev == NULL) + if (dev == NULL) return ENXIO; prop = device_properties(&dev->sc_dev); @@ -250,7 +250,7 @@ bthub_pioctl(dev_t devno, unsigned long cmd, prop_dictionary_t dict, break; case BTDEV_DETACH: /* detach BTDEV */ - if (dev == NULL) + if (dev == NULL) return ENXIO; LIST_REMOVE(dev, sc_next); diff --git a/sys/dev/bluetooth/btsco.c b/sys/dev/bluetooth/btsco.c index ac5a93b8758..d82173197c2 100644 --- a/sys/dev/bluetooth/btsco.c +++ b/sys/dev/bluetooth/btsco.c @@ -1,4 +1,4 @@ -/* $NetBSD: btsco.c,v 1.12 2007/03/04 06:01:45 christos Exp $ */ +/* $NetBSD: btsco.c,v 1.13 2007/03/13 19:26:06 plunky Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.12 2007/03/04 06:01:45 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.13 2007/03/13 19:26:06 plunky Exp $"); #include <sys/param.h> #include <sys/audioio.h> @@ -747,7 +747,7 @@ btsco_round_blocksize(void *hdl, int bs, int mode, if (bs == 0) bs = sc->sc_mtu; } - + DPRINTF("%s mode=0x%x, bs=%d, sc_mtu=%d\n", device_xname((struct device *)sc), mode, bs, sc->sc_mtu); diff --git a/sys/dev/bluetooth/btuart.c b/sys/dev/bluetooth/btuart.c index 623179904dc..3b63c56fd75 100644 --- a/sys/dev/bluetooth/btuart.c +++ b/sys/dev/bluetooth/btuart.c @@ -1,4 +1,4 @@ -/* $NetBSD: btuart.c,v 1.4 2007/03/12 14:12:13 kiyohara Exp $ */ +/* $NetBSD: btuart.c,v 1.5 2007/03/13 19:26:06 plunky Exp $ */ /* * Copyright (c) 2006, 2007 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: btuart.c,v 1.4 2007/03/12 14:12:13 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btuart.c,v 1.5 2007/03/13 19:26:06 plunky Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -548,7 +548,7 @@ init_csr(struct btuart_softc *sc) /* * XXXX: * We will have to check the HCI_EVENT_VENDOR packet. For - * instance, it might be a different HCI_EVENT_VENDOR packet. + * instance, it might be a different HCI_EVENT_VENDOR packet. */ if (error != 0) { printf("%s: CSR set UART speed failed: Status 0x%02x\n", @@ -845,7 +845,7 @@ init_stlc2500(struct btuart_softc *sc) /* * XXXX: * We do not know the beginning point of this character string. - * Because it doesn't know the event of this packet. + * Because it doesn't know the event of this packet. * * printf("%s: %s\n", sc->sc_dev.dv_xname, ???); */ |
