Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192532
b: refs/heads/master
c: bfc2cc3
h: refs/heads/master
v: v3
  • Loading branch information
Javier Martinez Canillas authored and Dominik Brodowski committed May 17, 2010
1 parent 7928f3f commit 5e87b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 99bd8f22220efc214130488c3d65d6acc34ea893
refs/heads/master: bfc2cc3497dfa7800faa9d2915e997d65daaf56e
10 changes: 1 addition & 9 deletions trunk/drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,6 @@ static void cs_detach(struct pcmcia_device *);

static struct pcmcia_device *cur_dev = NULL;
static const dev_info_t dev_info = "ni_mio_cs";
static dev_node_t dev_node = {
"ni_mio_cs",
COMEDI_MAJOR, 0,
NULL
};

static int cs_attach(struct pcmcia_device *link)
{
Expand All @@ -291,8 +286,7 @@ static void cs_detach(struct pcmcia_device *link)
{
DPRINTK("cs_detach(link=%p)\n", link);

if (link->dev_node)
cs_release(link);
cs_release(link);
}

static int mio_cs_suspend(struct pcmcia_device *link)
Expand Down Expand Up @@ -347,8 +341,6 @@ static void mio_cs_config(struct pcmcia_device *link)
dev_info(&link->dev, "no IRQ available\n");

ret = pcmcia_request_configuration(link, &link->conf);

link->dev_node = &dev_node;
}

static int mio_cs_attach(struct comedi_device *dev, struct comedi_devconfig *it)
Expand Down

0 comments on commit 5e87b15

Please sign in to comment.