Commit b5a4867
Staging: comedi: comedi_fops: Avoid orphaned proc entry
commit bf279ec upstream.
Move comedi_proc_init to the end to avoid orphaned proc entry
if module loading failed.
Signed-off-by: Cheah Kok Cheong <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 0c335d5 commit b5a4867
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2901 | 2901 | | |
2902 | 2902 | | |
2903 | 2903 | | |
2904 | | - | |
2905 | | - | |
2906 | | - | |
2907 | 2904 | | |
2908 | 2905 | | |
2909 | 2906 | | |
| |||
2921 | 2918 | | |
2922 | 2919 | | |
2923 | 2920 | | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
2924 | 2924 | | |
2925 | 2925 | | |
2926 | 2926 | | |
| |||
0 commit comments