Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205548
b: refs/heads/master
c: c5da209
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Jun 17, 2010
1 parent fbd7ff6 commit 6e8948a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 668f272e57e80ece987bed273096f8e3a707123c
refs/heads/master: c5da20905c8ce21a73a9b443e5d7ef0dc623cff0
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/serial2002.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static int serial_2002_open(struct comedi_device *dev)
break;
} else {
int command, channel, kind;
struct config_t *cur_config = 0;
struct config_t *cur_config = NULL;

channel = data.value & 0x1f;
kind = (data.value >> 5) & 0x7;
Expand Down Expand Up @@ -571,8 +571,8 @@ static int serial_2002_open(struct comedi_device *dev)
for (i = 0; i <= 4; i++) {
/* Fill in subdev data */
struct config_t *c;
unsigned char *mapping = 0;
struct serial2002_range_table_t *range = 0;
unsigned char *mapping = NULL;
struct serial2002_range_table_t *range = NULL;
int kind = 0;

switch (i) {
Expand Down Expand Up @@ -610,7 +610,7 @@ static int serial_2002_open(struct comedi_device *dev)
}
break;
default:{
c = 0;
c = NULL;
}
break;
}
Expand Down

0 comments on commit 6e8948a

Please sign in to comment.