commit | 03df4b51f33e1fdd35fe7bc19f1f450726395207 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Mon Dec 17 16:01:52 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 17 17:15:19 2012 -0800 |
tree | 13994b0b62313a4e0f93c1f6c349b01c53ea958e | |
parent | 78e3f1f01d23c1a0d5828669d35afa2e7951987d [diff] |
checkpatch: consolidate if (foo) bar(foo) checks and add debugfs_remove Consolidate the if (foo) bar(foo) detectors into a single check. Add debugfs_remove and family. Based on a patch by Constantine Shulyupin. Signed-off-by: Andy Whitcroft <apw@canonical.com> Cc: Constantine Shulyupin <const@MakeLinux.com>. Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>