commit | 36efbacdcb25427fda00d9af5c22a4f3a8867632 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Jul 18 14:28:14 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 18 16:10:40 2014 -0700 |
tree | de1dc76847a917b5f58d8a1ad8f8baa91fc7d74d | |
parent | 40af57a27b93be97e0e53344c697a56eae38cda0 [diff] |
staging: comedi: comedi_fops: checkpatch.pl --strict cleanup Fix the checkpatch.pl --strict issues: CHECK: braces {} should be used on all arms of this statement CHECK: Alignment should match open parenthesis CHECK: Prefer kzalloc(sizeof(*dev)...) over kzalloc(sizeof(struct comedi_device)...) 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>