aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorLidza Louina <lidza.louina@gmail.com>2013-08-21 11:08:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 09:43:53 -0700
commit817b7847165ca22064bd52a6aea6ecb5fcc45eda (patch)
tree09383c5868a6b391b3b0923ab8b0ec9b856dc402 /drivers/staging/dgnc
parentstaging: dgnc: cls.h: removes trailing whitespace (diff)
downloadlinux-dev-817b7847165ca22064bd52a6aea6ecb5fcc45eda.tar.xz
linux-dev-817b7847165ca22064bd52a6aea6ecb5fcc45eda.zip
staging: dgnc: driver.c: removes trailing whitespace
This patch removes trailing whitespace in the dgnc_driver.c file. Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_driver.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index 937134749e3e..ad7a8f1353b8 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -6,12 +6,12 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
@@ -345,7 +345,7 @@ static int dgnc_init_pci(void)
/* returns count (>= 0), or negative on error */
static int dgnc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
-{
+{
int rc;
/* wake up and enable device */
@@ -516,7 +516,7 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
APR(("memory allocation for board msgbuf failed\n"));
return(-ENOMEM);
}
-
+
/* store the info for the board we've found */
brd->magic = DGNC_BOARD_MAGIC;
brd->boardnum = dgnc_NumBoards;
@@ -566,7 +566,7 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
* PCI Local Address (i.e. "resource" number) space
* 0 PLX Memory Mapped Config
* 1 PLX I/O Mapped Config
- * 2 I/O Mapped UARTs and Status
+ * 2 I/O Mapped UARTs and Status
* 3 Memory Mapped VPD
* 4 Memory Mapped UARTs and Status
*/
@@ -628,7 +628,7 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
/*
* This chip is set up 100% when we get to it.
- * No need to enable global interrupts or anything.
+ * No need to enable global interrupts or anything.
*/
if (brd->bd_flags & BD_IS_PCI_EXPRESS)
brd->dpatype = T_NEO_EXPRESS | T_PCIBUS;
@@ -784,23 +784,23 @@ static void dgnc_do_remap(struct board_t *brd)
/*****************************************************************************
*
* Function:
-*
+*
* dgnc_poll_handler
*
* Author:
*
* Scott H Kilau
-*
+*
* Parameters:
*
-* dummy -- ignored
+* dummy -- ignored
*
* Return Values:
*
* none
*
-* Description:
-*
+* Description:
+*
* As each timer expires, it determines (a) whether the "transmit"
* waiter needs to be woken up, and (b) whether the poller needs to
* be rescheduled.