Module Name: src
Committed By: skrll
Date: Sat Oct 5 07:05:01 UTC 2013
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
Trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/usb/uhidev.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/uhidev.c
diff -u src/sys/dev/usb/uhidev.c:1.57 src/sys/dev/usb/uhidev.c:1.58
--- src/sys/dev/usb/uhidev.c:1.57 Thu Sep 26 07:25:31 2013
+++ src/sys/dev/usb/uhidev.c Sat Oct 5 07:05:01 2013
@@ -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 @@ extern struct cfdriver uhidev_cd;
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 @@ uhidev_match(device_t parent, cfdata_t m
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 @@ uhidev_attach(device_t parent, device_t
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 @@ uhidev_childdet(device_t self, device_t
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 @@ uhidev_open(struct uhidev *scd)
/* 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 @@ uhidev_open(struct uhidev *scd)
goto out3;
}
}
-
+
return (0);
out3:
/* Abort output pipe */
@@ -628,7 +628,7 @@ uhidev_close(struct uhidev *scd)
if (sc->sc_oxfer != NULL)
usbd_free_xfer(sc->sc_oxfer);
-
+
/* Disable interrupts. */
if (sc->sc_opipe != NULL) {
usbd_abort_pipe(sc->sc_opipe);