summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2010-02-26 10:15:05 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:43:06 -0800
commitd539047c7bb3d462b4b505accbb3cc31dce87801 (patch)
tree35aff38ada8ee48f51293dcae6b1ab88d6149b27 /drivers/staging
parent426054ce11ecb416048aa0f92628fa4ba93c3a0e (diff)
downloadlinux-stable-d539047c7bb3d462b4b505accbb3cc31dce87801.tar.gz
linux-stable-d539047c7bb3d462b4b505accbb3cc31dce87801.tar.bz2
linux-stable-d539047c7bb3d462b4b505accbb3cc31dce87801.zip
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.c4
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
das08 driver.
Options (for pcm-das08):
- NONE
+ NONE
Command support does not exist, but could be added for this board.
*/
@@ -52,7 +52,7 @@ Command support does not exist, but could be added for this board.
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
-static struct pcmcia_device *cur_dev = NULL;
+static struct pcmcia_device *cur_dev;
#define thisboard ((const struct das08_board_struct *)dev->board_ptr)