]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: resolver: Remove & on function name to align with other IIO drivers.
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Mar 2017 14:26:43 +0000 (19:56 +0530)
committerJonathan Cameron <jic23@kernel.org>
Mon, 13 Mar 2017 21:20:37 +0000 (21:20 +0000)
commit8f60a27dc5860b61aa1181c01d42aad3bd94a262
tree777e04407dc7bed0b03b00cf94b21e9556d979ae
parentcb03b0cde8653754ba0775b86ea8e759b756a2af
staging: iio: resolver: Remove & on function name to align with other IIO drivers.

Remove & from function pointers to conform to the style found in the wider
subsystem.  Done using the following semantic patch

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

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

- &f
+ f
// </smpl>

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/resolver/ad2s1200.c
drivers/staging/iio/resolver/ad2s90.c