scripts/coccinelle/api/simple_open.cocci: semantic patch for simple_open()
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 5 Apr 2012 21:25:10 +0000 (14:25 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 13:09:47 +0000 (18:09 +0530)
commit333df77944b7af3f0e1d4717ff1f1a3310b24b87
tree6e8e8ae97a664ac7b6bdc92f23ad3d1c7fea9f5f
parent80dd3f598e03bcfe4d4f6c745c34e57477cb683e
scripts/coccinelle/api/simple_open.cocci: semantic patch for simple_open()

Find instances of an open-coded simple_open() and replace them with
calls to simple_open().

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/coccinelle/api/simple_open.cocci [new file with mode: 0644]