]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: comedi: comedi_fops: Avoid orphaned proc entry
authorCheah Kok Cheong <thrust73@gmail.com>
Fri, 30 Dec 2016 11:25:52 +0000 (19:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:30:21 +0000 (15:30 +0100)
commitbf279ece37d2a3eaaa9813fcd7a1d8a81eb29c20
tree43c2b8b2526e04f10e7b8ad9e4d9e1bbecb58955
parent3358a0ca2152ac8f3f34df48feeb09dba599eccd
Staging: comedi: comedi_fops: Avoid orphaned proc entry

Move comedi_proc_init to the end to avoid orphaned proc entry
if module loading failed.

Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c