]> git.baikalelectronics.ru Git - kernel.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)
commitc39bea936a3306ab978031eddc9ac5737d3ab0b4
tree6a9ade0d40ec62a9fc61b30855994c3acb641a0b
parent49012d099712bde96e8fe28441e5d73857487057
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