]> asedeno.scripts.mit.edu Git - linux.git/commit
Staging: iio: magnetometer: remove exceptional & on function name
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 12 Feb 2016 15:10:29 +0000 (20:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:44:06 +0000 (16:44 -0800)
commit343af6379e950266ee3d4f638a3ffe0b01b08eab
tree4790d1c8bd3cd667bb3fb07f476bd30700fdcfc5
parentdf271034692dfa26010f27795fe955c866320b51
Staging: iio: magnetometer: remove exceptional & on function name

In this file,function names are otherwise used as pointers without &.
Found using coccinelle.
// <smpl>
@r@
identifier f;
@@

f(...) { ... }
@@
identifier r.f;
@@

- &f
+ f
// </smpl>

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/magnetometer/hmc5843_core.c