[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240922160304.520613-1-vassilisamir@gmail.com>
Date: Sun, 22 Sep 2024 18:03:03 +0200
From: Vasileios Amoiridis <vassilisamir@...il.com>
To: jic23@...nel.org,
lars@...afoo.de
Cc: linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Vasileios Amoiridis <vassilisamir@...il.com>
Subject: [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
--
2.25.1
Powered by blists - more mailing lists