[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYZPbszZfvJVr9B+iSjU1BgbvuH=jpAnm1XeoZeuNm5CQ@mail.gmail.com>
Date: Mon, 13 Mar 2023 11:18:11 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: sx150x: drop of_match_ptr for ID table
On Sun, Mar 12, 2023 at 2:27 PM Krzysztof Kozlowski
<krzysztof.kozlowski@...aro.org> wrote:
> The driver will match mostly by DT table (even thought there is regular
> ID table) so there is little benefit in of_match_ptr (this also allows
> ACPI matching via PRP0001, even though it might not be relevant here).
> This also fixes !CONFIG_OF error:
>
> drivers/pinctrl/pinctrl-sx150x.c:833:34: error: ‘sx150x_of_match’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists