]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: consolidate if (foo) bar(foo) checks and add debugfs_remove
authorAndy Whitcroft <apw@canonical.com>
Thu, 29 Nov 2012 03:18:38 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:37 +0000 (16:23 +1100)
commit932e0ca2d5bf7229b4f7afc311c7018b174b482e
treec4bc88648f51359f346e24b526e54893dff77c80
parentc993472d7922f85fcd620e3c9b2cb646a606c783
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>
scripts/checkpatch.pl