[PATCH 3/7] iio: light: ltr501: simplify code in write_event_config callback
Jonathan Cameron
jic23 at kernel.org
Sat Oct 26 05:23:33 PDT 2024
On Thu, 24 Oct 2024 11:11:25 +0200
Julien Stephan <jstephan at baylibre.com> 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 at baylibre.com>
Applied.
More information about the linux-arm-kernel
mailing list