]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: iio: Remove exceptional & on function name
authorShraddha Barke <shraddha.6596@gmail.com>
Tue, 13 Oct 2015 15:37:48 +0000 (21:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:11:03 +0000 (10:11 -0700)
commit3a1d9489e92a4dd93f6f070aa7e9062beed94c69
tree6a9ade0d40ec62a9fc61b30855994c3acb641a0b
parent30cc9bd64c67c9b1f70a2779302da2ac05335d47
Staging: iio: Remove exceptional & on function name

In this file, function names are otherwise used as pointers without &.

A simplified version of the Coccinelle semantic patch that makes this
change is as follows:

// <smpl>
@r@
identifier f;
@@

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

- &f
+ f
// </smpl>

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/addac/adt7316.c
drivers/staging/iio/resolver/ad2s1210.c