commit | cdcc02291bea28b85b81230cb9bd328ab7a3cb35 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri Jan 25 14:59:56 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 29 23:06:40 2013 -0500 |
tree | 1d23e04db373fc63fbc74c877598236c824d23a6 | |
parent | 86be5680f5804690654519751ed77aaa54b01826 [diff] |
staging: comedi: quatech_daqp_cs: cleanup daqp_cs_attach() Absorb the code from daqp_cs_config() into this function and properly return the error if the configuration fails. Remove the dev_dbg() function trace messages. Fix the kzalloc(). The preferred form for passing a size of a struct is: p = kzalloc(sizeof(*p), ...); Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>