lkml.org 
[lkml]   [2022]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH AUTOSEL 5.19 23/63] gpiolib: rework quirk handling in of_find_gpio()
    On Thu, Oct 13, 2022 at 2:19 AM Sasha Levin <sashal@kernel.org> wrote:
    >
    > From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    >
    > [ Upstream commit a2b5e207cade33b4d2dfd920f783f13b1f173e78 ]
    >
    > Instead of having a string of "if" statements let's put all quirks into
    > an array and iterate over them.
    >
    > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    > Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
    > Signed-off-by: Sasha Levin <sashal@kernel.org>
    > ---

    Sasha,

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

    Bartosz

    \
     
     \ /
      Last update: 2022-10-14 11:28    [W:6.199 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site