Re: [PATCH 1/2] gpio: sim: simplify gpio_sim_device_config_live_store()

From: Andy Shevchenko
Date: Fri Aug 11 2023 - 10:04:11 EST


On Fri, Aug 11, 2023 at 03:14:26PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Simplify the logic when checking the current live value against the user
> input.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> ---
> This is the same as what Andy suggested for gpio-consumer. Let's save a
> line.

Right.

--
With Best Regards,
Andy Shevchenko