Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354232
b: refs/heads/master
c: b831971
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 30, 2013
1 parent 5a41f03 commit 0477add
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: cdcc02291bea28b85b81230cb9bd328ab7a3cb35
refs/heads/master: b8319710de2d3f14e11c2d951d238797e2aa489d
16 changes: 8 additions & 8 deletions trunk/drivers/staging/comedi/drivers/quatech_daqp_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static void hex_dump(char *str, void *ptr, int len)

static int daqp_ai_cancel(struct comedi_device *dev, struct comedi_subdevice *s)
{
struct local_info_t *local = (struct local_info_t *)s->private;
struct local_info_t *local = s->private;

if (local->stop)
return -EIO;
Expand All @@ -237,7 +237,7 @@ static int daqp_ai_cancel(struct comedi_device *dev, struct comedi_subdevice *s)
*/
static enum irqreturn daqp_interrupt(int irq, void *dev_id)
{
struct local_info_t *local = (struct local_info_t *)dev_id;
struct local_info_t *local = dev_id;
struct comedi_device *dev;
struct comedi_subdevice *s;
int loop_limit = 10000;
Expand Down Expand Up @@ -265,7 +265,7 @@ static enum irqreturn daqp_interrupt(int irq, void *dev_id)
return IRQ_NONE;
}

if ((struct local_info_t *)s->private != local) {
if (s->private != local) {
pr_warn("invalid comedi_subdevice.\n");
return IRQ_NONE;
}
Expand Down Expand Up @@ -335,7 +335,7 @@ static int daqp_ai_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
{
struct local_info_t *local = (struct local_info_t *)s->private;
struct local_info_t *local = s->private;
int i;
int v;
int counter = 10000;
Expand Down Expand Up @@ -528,7 +528,7 @@ static int daqp_ai_cmdtest(struct comedi_device *dev,

static int daqp_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
{
struct local_info_t *local = (struct local_info_t *)s->private;
struct local_info_t *local = s->private;
struct comedi_cmd *cmd = &s->async->cmd;
int counter;
int scanlist_start_on_every_entry;
Expand Down Expand Up @@ -730,7 +730,7 @@ static int daqp_ao_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
{
struct local_info_t *local = (struct local_info_t *)s->private;
struct local_info_t *local = s->private;
int d;
unsigned int chan;

Expand All @@ -757,7 +757,7 @@ static int daqp_di_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
{
struct local_info_t *local = (struct local_info_t *)s->private;
struct local_info_t *local = s->private;

if (local->stop)
return -EIO;
Expand All @@ -773,7 +773,7 @@ static int daqp_do_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
{
struct local_info_t *local = (struct local_info_t *)s->private;
struct local_info_t *local = s->private;

if (local->stop)
return -EIO;
Expand Down

0 comments on commit 0477add

Please sign in to comment.