projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: comedi: propogate error code from comedi_alloc_subdevices
[deliverable/linux.git]
/
drivers
/
staging
/
comedi
/
drivers
/
das16.c
diff --git
a/drivers/staging/comedi/drivers/das16.c
b/drivers/staging/comedi/drivers/das16.c
index 6a8a7eb1ae9c087009f1db23eb1774bce5b8ab43..0c6ad1067055d61dc2b36d4667e1194fa2325393 100644
(file)
--- a/
drivers/staging/comedi/drivers/das16.c
+++ b/
drivers/staging/comedi/drivers/das16.c
@@
-1265,7
+1265,7
@@
static int das16_attach(struct comedi_device *dev, struct comedi_devconfig *it)
devpriv->timer_mode = timer_mode ? 1 : 0;
ret = comedi_alloc_subdevices(dev, 5);
- if (ret
< 0
)
+ if (ret)
return ret;
s = dev->subdevices + 0;
This page took
0.028019 seconds
and
5
git commands to generate.