Re: [PATCH 3/7] iio: light: ltr501: simplify code in write_event_config callback
From: Jonathan Cameron
Date: Sat Oct 26 2024 - 08:24:24 EST
On Thu, 24 Oct 2024 11:11:25 +0200
Julien Stephan <jstephan@xxxxxxxxxxxx> wrote:
> iio_ev_state_store is actually using kstrtobool to check user
> input, then gives the converted boolean value to the write_event_config
> callback.
>
> Remove useless code in write_event_config callback.
>
> Signed-off-by: Julien Stephan <jstephan@xxxxxxxxxxxx>
Applied.