Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354318
b: refs/heads/master
c: 0bfc02b
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Feb 4, 2013
1 parent e9e118b commit dbf9e3f
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: de46fb7776da0565fa71cb407c7eb45ce87676b9
refs/heads/master: 0bfc02b8e58abcc0c1f03638a34650c3eaee36f9
9 changes: 0 additions & 9 deletions trunk/drivers/staging/comedi/drivers/ni_daq_dio24.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ static void dio24_config(struct pcmcia_device *link);

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

Expand Down Expand Up @@ -216,7 +215,6 @@ static int dio24_cs_attach(struct pcmcia_device *link)

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

/* This points to the parent local_info_t struct */
Expand Down Expand Up @@ -265,18 +263,11 @@ static void dio24_config(struct pcmcia_device *link)

static int dio24_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;
} /* dio24_cs_suspend */

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

local->stop = 0;
return 0;
} /* dio24_cs_resume */

Expand Down

0 comments on commit dbf9e3f

Please sign in to comment.