Skip to content

iio: Remove assignment to pf->timestamp by using elvis

Vasileios Amoiridis linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1iio: acpi-als: Use elvis operator to simplify if statementdrivers/iio/light/acpi-als.c+2 -41 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/1] iio: Remove assignment to pf->timestamp by using elvis

Instead of checking the value of the pf->timestamp and determining to assign to it a new one or not, use the elvis operator to save some lines and to simplify it.

Vasileios Amoiridis (1):
iio: acpi-als: Use elvis operator to simplify if statement

 drivers/iio/light/acpi-als.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

base-commit: 8bea3878a1511bceadc2fbf284b00bcc5a2ef28d

Signature · 1 line
2.25.1