Commit 818cc6fe authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: dgap: Fix trailing whitespace in dgap_driver.c

This patch fixed trailing whitespace found by
checkpatch.pl in staging/dgap/dgap_driver.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarLidza Louina <Lidza.Louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 85025b64
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option) * the Free Software Foundation; either version 2, or (at your option)
* any later version. * any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details. * PURPOSE. See the GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
...@@ -201,11 +201,11 @@ char *dgap_state_text[] = { ...@@ -201,11 +201,11 @@ char *dgap_state_text[] = {
"Need Device Creation", "Need Device Creation",
"Requested Device Creation", "Requested Device Creation",
"Finished Device Creation", "Finished Device Creation",
"Need BIOS Load", "Need BIOS Load",
"Requested BIOS", "Requested BIOS",
"Doing BIOS Load", "Doing BIOS Load",
"Finished BIOS Load", "Finished BIOS Load",
"Need FEP Load", "Need FEP Load",
"Requested FEP", "Requested FEP",
"Doing FEP Load", "Doing FEP Load",
"Finished FEP Load", "Finished FEP Load",
...@@ -269,7 +269,7 @@ int dgap_init_module(void) ...@@ -269,7 +269,7 @@ int dgap_init_module(void)
else { else {
dgap_create_driver_sysfiles(&dgap_driver); dgap_create_driver_sysfiles(&dgap_driver);
} }
DPR_INIT(("Finished init_module. Returning %d\n", rc)); DPR_INIT(("Finished init_module. Returning %d\n", rc));
return (rc); return (rc);
} }
...@@ -326,7 +326,7 @@ static int dgap_start(void) ...@@ -326,7 +326,7 @@ static int dgap_start(void)
if (rc < 0) { if (rc < 0) {
APR(("tty preinit - not enough memory (%d)\n", rc)); APR(("tty preinit - not enough memory (%d)\n", rc));
return(rc); return(rc);
} }
/* Start the poller */ /* Start the poller */
...@@ -366,7 +366,7 @@ static int dgap_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -366,7 +366,7 @@ static int dgap_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
if (rc < 0) { if (rc < 0) {
rc = -EIO; rc = -EIO;
} else { } else {
rc = dgap_probe1(pdev, ent->driver_data); rc = dgap_probe1(pdev, ent->driver_data);
if (rc == 0) { if (rc == 0) {
dgap_NumBoards++; dgap_NumBoards++;
...@@ -374,15 +374,15 @@ static int dgap_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -374,15 +374,15 @@ static int dgap_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
} }
} }
return rc; return rc;
} }
static int dgap_probe1(struct pci_dev *pdev, int card_type) static int dgap_probe1(struct pci_dev *pdev, int card_type)
{ {
return dgap_found_board(pdev, card_type); return dgap_found_board(pdev, card_type);
} }
static void dgap_remove_one(struct pci_dev *dev) static void dgap_remove_one(struct pci_dev *dev)
{ {
/* Do Nothing */ /* Do Nothing */
...@@ -599,7 +599,7 @@ static int dgap_found_board(struct pci_dev *pdev, int id) ...@@ -599,7 +599,7 @@ static int dgap_found_board(struct pci_dev *pdev, int id)
pci_write_config_byte(pdev, 0x40, 0); pci_write_config_byte(pdev, 0x40, 0);
pci_write_config_byte(pdev, 0x46, 0); pci_write_config_byte(pdev, 0x46, 0);
/* Limit burst length to 2 doubleword transactions */ /* Limit burst length to 2 doubleword transactions */
pci_write_config_byte(pdev, 0x42, 1); pci_write_config_byte(pdev, 0x42, 1);
/* /*
...@@ -718,23 +718,23 @@ static int dgap_do_remap(struct board_t *brd) ...@@ -718,23 +718,23 @@ static int dgap_do_remap(struct board_t *brd)
/***************************************************************************** /*****************************************************************************
* *
* Function: * Function:
* *
* dgap_poll_handler * dgap_poll_handler
* *
* Author: * Author:
* *
* Scott H Kilau * Scott H Kilau
* *
* Parameters: * Parameters:
* *
* dummy -- ignored * dummy -- ignored
* *
* Return Values: * Return Values:
* *
* none * none
* *
* Description: * Description:
* *
* As each timer expires, it determines (a) whether the "transmit" * As each timer expires, it determines (a) whether the "transmit"
* waiter needs to be woken up, and (b) whether the poller needs to * waiter needs to be woken up, and (b) whether the poller needs to
* be rescheduled. * be rescheduled.
...@@ -910,7 +910,7 @@ static void dgap_init_globals(void) ...@@ -910,7 +910,7 @@ static void dgap_init_globals(void)
dgap_Board[i] = NULL; dgap_Board[i] = NULL;
} }
init_timer( &dgap_poll_timer ); init_timer( &dgap_poll_timer );
init_waitqueue_head(&dgap_dl_wait); init_waitqueue_head(&dgap_dl_wait);
dgap_dl_action = 0; dgap_dl_action = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment