Staging: comedi: proc: Warn if unable to create proc entry
commit2e4b5cd641056ca58836502cde1613eb6a375f2a
authorCheah Kok Cheong <thrust73@gmail.com>
Fri, 30 Dec 2016 11:27:41 +0000 (30 19:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:30:21 +0000 (3 15:30 +0100)
treef7ab46e946bc662f08edc475e47448dcd03823ee
parent6bd68e29b6fd6043fee89b056f791a394d89a57f
Staging: comedi: proc: Warn if unable to create proc entry

The proc entry is not essential for the comedi system as
evident by the support for !CONFIG_PROC_FS. So for failure
to create, just warn and continue loading.

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/proc.c