* [PATCH] drm/panel: tpg110: Silent no spi_device_id warning
@ 2022-09-15 16:34 Wei Yongjun
2022-10-03 19:50 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2022-09-15 16:34 UTC (permalink / raw)
To: Linus Walleij, Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter
Cc: Wei Yongjun, dri-devel
From: Wei Yongjun <weiyongjun1@huawei.com>
Add spi_device_id entries to silent following SPI warning:
SPI driver tpo-tpg110-panel has no spi_device_id for tpo,tpg110
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
drivers/gpu/drm/panel/panel-tpo-tpg110.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-tpo-tpg110.c b/drivers/gpu/drm/panel/panel-tpo-tpg110.c
index 0b1f5a11a055..370403102c4b 100644
--- a/drivers/gpu/drm/panel/panel-tpo-tpg110.c
+++ b/drivers/gpu/drm/panel/panel-tpo-tpg110.c
@@ -463,9 +463,16 @@ static const struct of_device_id tpg110_match[] = {
};
MODULE_DEVICE_TABLE(of, tpg110_match);
+static const struct spi_device_id tpg110_ids[] = {
+ { "tpg110" },
+ { },
+};
+MODULE_DEVICE_TABLE(spi, tpg110_ids);
+
static struct spi_driver tpg110_driver = {
.probe = tpg110_probe,
.remove = tpg110_remove,
+ .id_table = tpg110_ids,
.driver = {
.name = "tpo-tpg110-panel",
.of_match_table = tpg110_match,
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/panel: tpg110: Silent no spi_device_id warning
2022-09-15 16:34 [PATCH] drm/panel: tpg110: Silent no spi_device_id warning Wei Yongjun
@ 2022-10-03 19:50 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2022-10-03 19:50 UTC (permalink / raw)
To: Wei Yongjun
Cc: David Airlie, dri-devel, Thierry Reding, Wei Yongjun, Sam Ravnborg
On Thu, Sep 15, 2022 at 6:17 PM Wei Yongjun <weiyongjun@huaweicloud.com> wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Add spi_device_id entries to silent following SPI warning:
>
> SPI driver tpo-tpg110-panel has no spi_device_id for tpo,tpg110
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-03 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 16:34 [PATCH] drm/panel: tpg110: Silent no spi_device_id warning Wei Yongjun
2022-10-03 19:50 ` Linus Walleij
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.