Re: [PATCH 1/2] gpio: sim: use sysfs_streq() and avoid an strdup()
From: Bartosz Golaszewski
Date: Fri Aug 11 2023 - 07:59:25 EST
On Wed, Aug 9, 2023 at 3:14 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> When comparing strings passed to us from configfs, we can pass the page
> argument directly to sysfs_streq() and avoid manual string trimming.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> ---
I applied this one, I'll send a v2 for other one.
Bart