Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/c06d76bfa4f4
branches: trunk
changeset: 790384:c06d76bfa4f4
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 05 07:05:01 2013 +0000
description:
Trailing whitespace.
diffstat:
sys/dev/usb/uhidev.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (86 lines):
diff -r 9b3d68c912a6 -r c06d76bfa4f4 sys/dev/usb/uhidev.c
--- a/sys/dev/usb/uhidev.c Sat Oct 05 07:00:41 2013 +0000
+++ b/sys/dev/usb/uhidev.c Sat Oct 05 07:05:01 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhidev.c,v 1.57 2013/09/26 07:25:31 skrll Exp $ */
+/* $NetBSD: uhidev.c,v 1.58 2013/10/05 07:05:01 skrll Exp $ */
/*
* Copyright (c) 2001, 2012 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhidev.c,v 1.57 2013/09/26 07:25:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhidev.c,v 1.58 2013/10/05 07:05:01 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -87,7 +87,7 @@
CFATTACH_DECL2_NEW(uhidev, sizeof(struct uhidev_softc), uhidev_match,
uhidev_attach, uhidev_detach, uhidev_activate, NULL, uhidev_childdet);
-int
+int
uhidev_match(device_t parent, cfdata_t match, void *aux)
{
struct usbif_attach_arg *uaa = aux;
@@ -102,7 +102,7 @@
return (UMATCH_IFACECLASS_GENERIC);
}
-void
+void
uhidev_attach(device_t parent, device_t self, void *aux)
{
struct uhidev_softc *sc = device_private(self);
@@ -244,11 +244,11 @@
return;
}
- if (uaa->vendor == USB_VENDOR_HOSIDEN &&
+ if (uaa->vendor == USB_VENDOR_HOSIDEN &&
uaa->product == USB_PRODUCT_HOSIDEN_PPP) {
static uByte reportbuf[] = { 1 };
/*
- * This device was sold by Konami with its ParaParaParadise
+ * This device was sold by Konami with its ParaParaParadise
* game for PlayStation2. It needs to be "turned on"
* before it will send any reports.
*/
@@ -423,7 +423,7 @@
sc->sc_subdevs[i] = NULL;
}
-int
+int
uhidev_detach(device_t self, int flags)
{
struct uhidev_softc *sc = device_private(self);
@@ -555,7 +555,7 @@
/* Set up input interrupt pipe. */
DPRINTF(("uhidev_open: isize=%d, ep=0x%02x\n", sc->sc_isize,
sc->sc_iep_addr));
-
+
err = usbd_open_pipe_intr(sc->sc_iface, sc->sc_iep_addr,
USBD_SHORT_XFER_OK, &sc->sc_ipipe, sc, sc->sc_ibuf,
sc->sc_isize, uhidev_intr, USBD_DEFAULT_INTERVAL);
@@ -591,7 +591,7 @@
goto out3;
}
}
-
+
return (0);
out3:
/* Abort output pipe */
@@ -628,7 +628,7 @@
if (sc->sc_oxfer != NULL)
usbd_free_xfer(sc->sc_oxfer);
-
+
/* Disable interrupts. */
if (sc->sc_opipe != NULL) {
usbd_abort_pipe(sc->sc_opipe);
Home |
Main Index |
Thread Index |
Old Index