Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317519
b: refs/heads/master
c: 919f607
h: refs/heads/master
i:
  317517: 7955418
  317515: 2dd55ed
  317511: fb24e49
  317503: c428926
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jun 23, 2012
1 parent 0fd44b5 commit eac6a9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 9c1eb8e1a04acb27da21d461db2b015ac33a0d25
refs/heads/master: 919f6077f26937455d8ce2a2987063c6111e1609
9 changes: 0 additions & 9 deletions trunk/drivers/staging/comedi/drivers/ni_daq_700.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ static void dio700_config(struct pcmcia_device *link)

struct local_info_t {
struct pcmcia_device *link;
int stop;
struct bus_operations *bus;
};

Expand All @@ -238,7 +237,6 @@ static int dio700_cs_attach(struct pcmcia_device *link)

static void dio700_cs_detach(struct pcmcia_device *link)
{
((struct local_info_t *)link->priv)->stop = 1;
dio700_release(link);

/* This points to the parent struct local_info_t struct */
Expand All @@ -247,18 +245,11 @@ static void dio700_cs_detach(struct pcmcia_device *link)

static int dio700_cs_suspend(struct pcmcia_device *link)
{
struct local_info_t *local = link->priv;

/* Mark the device as stopped, to block IO until later */
local->stop = 1;
return 0;
}

static int dio700_cs_resume(struct pcmcia_device *link)
{
struct local_info_t *local = link->priv;

local->stop = 0;
return 0;
}

Expand Down

0 comments on commit eac6a9d

Please sign in to comment.