Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353938
b: refs/heads/master
c: 76cca89
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 29d2f9e commit 27044b9
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: 91fa0b0c96eb46444c9bc0d2994626fc371dd6db
refs/heads/master: 76cca89f4b032abad514c0821be35d999c9707ce
16 changes: 8 additions & 8 deletions trunk/drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2197,14 +2197,6 @@ static const struct file_operations comedi_fops = {
static struct class *comedi_class;
static struct cdev comedi_cdev;

static void comedi_cleanup_legacy_minors(void)
{
unsigned i;

for (i = 0; i < comedi_num_legacy_minors; i++)
comedi_free_board_minor(i);
}

void comedi_error(const struct comedi_device *dev, const char *s)
{
dev_err(dev->class_dev, "%s: %s\n", dev->driver->driver_name, s);
Expand Down Expand Up @@ -2427,6 +2419,14 @@ void comedi_free_subdevice_minor(struct comedi_subdevice *s)
kfree(info);
}

static void comedi_cleanup_legacy_minors(void)
{
unsigned i;

for (i = 0; i < comedi_num_legacy_minors; i++)
comedi_free_board_minor(i);
}

static int __init comedi_init(void)
{
int i;
Expand Down

0 comments on commit 27044b9

Please sign in to comment.