Re: [PATCH v2 02/23] PCI: artpec6: Prefer of_device_get_match_data()

From
Jesper Nilsson <Jesper.Nilsson@axis.com>
Date
2021-12-25 13:31:00
Also in
linux-kernel-mentees, lkml
Reply to
Bjorn Helgaas, 2021-12-23
On Thu, Dec 23, 2021 at 02:10:33AM +0100, Bjorn Helgaas wrote:
From: Fan Fei <redacted>

The artpec6 driver only needs the device data, not the whole struct
of_device_id.  Use of_device_get_match_data() instead of of_match_device().
No functional change intended.

[bhelgaas: commit log]
Signed-off-by: Fan Fei <redacted>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Looks good to me,

Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: <redacted>
/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com
Thread (34 messages) 34 messages, 6 authors, last reply 2022-01-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help