Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324649
b: refs/heads/master
c: 9ac6eb4
h: refs/heads/master
i:
  324647: 6330ea3
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent a5bd7ec commit d7fbfd1
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b1da49430bb2e78616769623638f869c513e6ec1
refs/heads/master: 9ac6eb40510bf9e6e82435f78f5c1cb92ee3f97a
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/comedi_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,12 @@ static int waveform_attach(struct comedi_device *dev,
devpriv->timer.function = waveform_ai_interrupt;
devpriv->timer.data = (unsigned long)dev;

printk(KERN_INFO "comedi%d: comedi_test: "
"%i microvolt, %li microsecond waveform attached\n", dev->minor,
devpriv->uvolt_amplitude, devpriv->usec_period);
return 1;
dev_info(dev->class_dev,
"%s: %i microvolt, %li microsecond waveform attached\n",
dev->board_name,
devpriv->uvolt_amplitude, devpriv->usec_period);

return 0;
}

static void waveform_detach(struct comedi_device *dev)
Expand Down

0 comments on commit d7fbfd1

Please sign in to comment.