Re: [PATCH AUTOSEL 5.19 21/63] gpiolib: of: do not ignore requested index when applying quirks

From: Bartosz Golaszewski
Date: Fri Oct 14 2022 - 05:27:51 EST


On Thu, Oct 13, 2022 at 2:19 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>
> [ Upstream commit 98c3c940ea5c3957056717e8b77a91c7d94536ad ]
>
> We should not ignore index passed into of_find_gpio() when handling
> quirks. While in practice this change will not have any effect, it
> will allow consolidate quirk handling.
>

Sasha,

This is not a fix, it's code refactoring. Definitely not stable material.

Bartosz