summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-01-15 00:40:46 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-07 10:04:10 -0800
commita6224c369cdff4a856484898be5148dddcfc60c8 (patch)
tree9e4fc37392d10a0ee252012711a45972b1c92ed4
parent5e5ccb48c1b63eef9bc7a85ae3184faa56f78e98 (diff)
staging: dgap: Fix trailing whitespace in dgap_driver.h
This patch fixed trailing whitespace found by checkpatch.pl in staging/dgap/dgap_driver.h Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Lidza Louina <Lidza.Louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/dgap/dgap_driver.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/dgap/dgap_driver.h b/drivers/staging/dgap/dgap_driver.h
index 2f7a55a7e40d..48d2815520f5 100644
--- a/drivers/staging/dgap/dgap_driver.h
+++ b/drivers/staging/dgap/dgap_driver.h
@@ -58,7 +58,7 @@
#define PROCSTR "dgap" /* /proc entries */
#define DEVSTR "/dev/dg/dgap" /* /dev entries */
-#define DRVSTR "dgap" /* Driver name string
+#define DRVSTR "dgap" /* Driver name string
* displayed by APR */
#define APR(args) do { PRINTF_TO_KMEM(args); printk(DRVSTR": "); printk args; \
} while (0)
@@ -112,7 +112,7 @@
#endif
#if defined TRC_TO_KMEM
-#define PRINTF_TO_KMEM(args) dgap_tracef args
+#define PRINTF_TO_KMEM(args) dgap_tracef args
#else //!defined TRC_TO_KMEM
#define PRINTF_TO_KMEM(args)
#endif
@@ -192,7 +192,7 @@
* Our major for the mgmt devices.
*
* We can use 22, because Digi was allocated 22 and 23 for the epca driver.
- * 22 has now become obsolete now that the "cu" devices have
+ * 22 has now become obsolete now that the "cu" devices have
* been removed from 2.6.
* Also, this *IS* the epca driver, just PCI only now.
*/
@@ -290,7 +290,7 @@ extern char *dgap_state_text[];
extern char *dgap_driver_state_text[];
-/*
+/*
* Modem line constants are defined as macros because DSR and
* DCD are swapable using the ditty altpin option.
*/
@@ -322,7 +322,7 @@ struct macounter
};
-/************************************************************************
+/************************************************************************
* Device flag definitions for bd_flags.
************************************************************************/
#define BD_FEP5PLUS 0x0001 /* Supports FEP5 Plus commands */
@@ -340,7 +340,7 @@ struct board_t
int type; /* Type of board */
char *name; /* Product Name */
- struct pci_dev *pdev; /* Pointer to the pci_dev struct */
+ struct pci_dev *pdev; /* Pointer to the pci_dev struct */
u16 vendor; /* PCI vendor ID */
u16 device; /* PCI device ID */
u16 subvendor; /* PCI subsystem vendor ID */
@@ -419,7 +419,7 @@ struct board_t
-/************************************************************************
+/************************************************************************
* Unit flag definitions for un_flags.
************************************************************************/
#define UN_ISOPEN 0x0001 /* Device is open */
@@ -439,7 +439,7 @@ struct board_t
struct device;
/************************************************************************
- * Structure for terminal or printer unit.
+ * Structure for terminal or printer unit.
************************************************************************/
struct un_t {
int magic; /* Unit Magic Number. */
@@ -457,7 +457,7 @@ struct un_t {
};
-/************************************************************************
+/************************************************************************
* Device flag definitions for ch_flags.
************************************************************************/
#define CH_PRON 0x0001 /* Printer on string */
@@ -484,7 +484,7 @@ struct un_t {
#define SNIFF_WAIT_SPACE 0x4
-/************************************************************************
+/************************************************************************
* Channel information structure.
************************************************************************/
struct channel_t {
@@ -608,7 +608,7 @@ extern int dgap_registerttyswithsysfs; /* Should we register the */
* Global functions declared in dgap_fep5.c, but must be hidden from
* user space programs.
*/
-extern void dgap_poll_tasklet(unsigned long data);
+extern void dgap_poll_tasklet(unsigned long data);
extern void dgap_cmdb(struct channel_t *ch, uchar cmd, uchar byte1, uchar byte2, uint ncmds);
extern void dgap_cmdw(struct channel_t *ch, uchar cmd, u16 word, uint ncmds);
extern void dgap_wmove(struct channel_t *ch, char *buf, uint cnt);