projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5df65
)
staging: comedi: dt3000: remove proc subdevice
author
H Hartley Sweeten
<
[email protected]
>
Thu, 8 Oct 2015 17:48:22 +0000
(10:48 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 13 Oct 2015 05:59:26 +0000
(22:59 -0700)
This subdevice is not allocated or defined in the driver. Remove the
disabled subdevice initialization.
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Reviewed-by: Ian Abbott <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/comedi/drivers/dt3000.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/dt3000.c
b/drivers/staging/comedi/drivers/dt3000.c
index 9ff7e95dc6febac0e441b8abd6311fcfc1611274..fdae78d1690dec82e8b45530b5f54e49de51044f 100644
(file)
--- a/
drivers/staging/comedi/drivers/dt3000.c
+++ b/
drivers/staging/comedi/drivers/dt3000.c
@@
-721,12
+721,6
@@
static int dt3000_auto_attach(struct comedi_device *dev,
s->len_chanlist = 1;
s->range_table = &range_unknown;
-#if 0
- s = &dev->subdevices[4];
- /* proc subsystem */
- s->type = COMEDI_SUBD_PROC;
-#endif
-
return 0;
}