commit | f08e0ac59a93db2d8abc7000e2647164104524c6 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Apr 04 14:58:42 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 05 14:33:16 2013 -0700 |
tree | c240825d91b7e0cbf9db4b57d047a519e971416e | |
parent | 7e1389a9e622a421e85e8611c76bd9142bf4bff1 [diff] |
staging: comedi: check comedi_auto_config() params Do some minimal error checking of the parameters of `comedi_auto_config()`. Just make sure the `hardware_device` and `driver` parameters are non-NULL. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>