diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2010-02-26 04:15:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 19:43:06 -0500 |
commit | d539047c7bb3d462b4b505accbb3cc31dce87801 (patch) | |
tree | 35aff38ada8ee48f51293dcae6b1ab88d6149b27 /drivers/staging | |
parent | 426054ce11ecb416048aa0f92628fa4ba93c3a0e (diff) |
Staging: comedi: das08_cs.c: Checkpatch cleanup
ERROR: code indent should use tabs where possible
+ NONE$
ERROR: do not initialise statics to 0 or NULL
+static struct pcmcia_device *cur_dev = NULL;
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/das08_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/das08_cs.c b/drivers/staging/comedi/drivers/das08_cs.c index 9b945e5fdd32..f12ef1cd6f53 100644 --- a/drivers/staging/comedi/drivers/das08_cs.c +++ b/drivers/staging/comedi/drivers/das08_cs.c | |||
@@ -34,7 +34,7 @@ This is the PCMCIA-specific support split off from the | |||
34 | das08 driver. | 34 | das08 driver. |
35 | 35 | ||
36 | Options (for pcm-das08): | 36 | Options (for pcm-das08): |
37 | NONE | 37 | NONE |
38 | 38 | ||
39 | Command support does not exist, but could be added for this board. | 39 | Command support does not exist, but could be added for this board. |
40 | */ | 40 | */ |
@@ -52,7 +52,7 @@ Command support does not exist, but could be added for this board. | |||
52 | #include <pcmcia/cistpl.h> | 52 | #include <pcmcia/cistpl.h> |
53 | #include <pcmcia/ds.h> | 53 | #include <pcmcia/ds.h> |
54 | 54 | ||
55 | static struct pcmcia_device *cur_dev = NULL; | 55 | static struct pcmcia_device *cur_dev; |
56 | 56 | ||
57 | #define thisboard ((const struct das08_board_struct *)dev->board_ptr) | 57 | #define thisboard ((const struct das08_board_struct *)dev->board_ptr) |
58 | 58 | ||