From: Lee Jones <lee@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>,
Manivannan Sadhasivam <mani@kernel.org>,
linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org,
Cristian Ciocaltea <cristian.ciocaltea@gmail.com>,
Claudiu Beznea <claudiu.beznea@microchip.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] mfd: atc260x-i2c: drop of_match_ptr for ID table
Date: Thu, 16 Mar 2023 15:59:23 +0000 [thread overview]
Message-ID: <20230316155923.GP9667@google.com> (raw)
In-Reply-To: <20230311111629.251830-2-krzysztof.kozlowski@linaro.org>
On Sat, 11 Mar 2023, Krzysztof Kozlowski wrote:
> The driver can match only via the DT table so the table should be always
> used and the of_match_ptr does not have any sense (this also allows ACPI
> matching via PRP0001, even though it might not be relevant here).
>
> drivers/mfd/atc260x-i2c.c:44:34: error: ‘atc260x_i2c_of_match’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> drivers/mfd/atc260x-i2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
--
Lee Jones [李琼斯]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
Cristian Ciocaltea <cristian.ciocaltea@gmail.com>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@microchip.com>,
linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] mfd: atc260x-i2c: drop of_match_ptr for ID table
Date: Thu, 16 Mar 2023 15:59:23 +0000 [thread overview]
Message-ID: <20230316155923.GP9667@google.com> (raw)
In-Reply-To: <20230311111629.251830-2-krzysztof.kozlowski@linaro.org>
On Sat, 11 Mar 2023, Krzysztof Kozlowski wrote:
> The driver can match only via the DT table so the table should be always
> used and the of_match_ptr does not have any sense (this also allows ACPI
> matching via PRP0001, even though it might not be relevant here).
>
> drivers/mfd/atc260x-i2c.c:44:34: error: ‘atc260x_i2c_of_match’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> drivers/mfd/atc260x-i2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
--
Lee Jones [李琼斯]
next prev parent reply other threads:[~2023-03-16 16:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-11 11:16 [PATCH 1/2] mfd: atmel-smc: Mark OF related data as maybe unused Krzysztof Kozlowski
2023-03-11 11:16 ` Krzysztof Kozlowski
2023-03-11 11:16 ` [PATCH 2/2] mfd: atc260x-i2c: drop of_match_ptr for ID table Krzysztof Kozlowski
2023-03-11 11:16 ` Krzysztof Kozlowski
2023-03-16 15:59 ` Lee Jones [this message]
2023-03-16 15:59 ` Lee Jones
2023-03-16 15:58 ` [PATCH 1/2] mfd: atmel-smc: Mark OF related data as maybe unused Lee Jones
2023-03-16 15:58 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230316155923.GP9667@google.com \
--to=lee@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@microchip.com \
--cc=cristian.ciocaltea@gmail.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-actions@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.