Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364160
b: refs/heads/master
c: 60cb3b0
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 19, 2013
1 parent 83ca425 commit 6a1a805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 21208519d42404150fef42283a20192ffe08b0af
refs/heads/master: 60cb3b02bc74c90aaa77d1acda1eff73c8dda478
8 changes: 1 addition & 7 deletions trunk/drivers/staging/comedi/drivers/amplc_dio200.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,8 @@ static int dio200_attach(struct comedi_device *dev, struct comedi_devconfig *it)

static void dio200_detach(struct comedi_device *dev)
{
const struct dio200_board *thisboard = comedi_board(dev);
struct dio200_private *devpriv = dev->private;

if (!thisboard || !devpriv)
return;
amplc_dio200_common_detach(dev);
if (devpriv->io.regtype == io_regtype)
release_region(devpriv->io.u.iobase, thisboard->mainsize);
comedi_legacy_detach(dev);
}

static struct comedi_driver amplc_dio200_driver = {
Expand Down

0 comments on commit 6a1a805

Please sign in to comment.