Skip to content

Staging: iio: remove exceptional & on function name

Bhumika Goyal outreachy 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Staging: iio: light: remove exceptional & on function namedrivers/staging/iio/light/isl29018.c+4 -40 replies
2/3Staging: iio: light: remove exceptional & on function namedrivers/staging/iio/light/isl29028.c+2 -20 replies
3/3Staging: iio: magnetometer: remove exceptional & on function namedrivers/staging/iio/magnetometer/hmc5843_core.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Staging: iio: remove exceptional & on function name

These files function names are otherwise used as pointers without &. Found using coccinelle.
// <smpl>
@r@
identifier f;
@@

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

- &f
+ f
// </smpl>

Bhumika Goyal (3):
Staging: iio: light: remove exceptional & on function name
Staging: iio: light: remove exceptional & on function name
Staging: iio: magnetometer: remove exceptional & on function name

 drivers/staging/iio/light/isl29018.c            | 8 ++++----
 drivers/staging/iio/light/isl29028.c            | 4 ++--
 drivers/staging/iio/magnetometer/hmc5843_core.c | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1