diff options
| author | Andrew Davis <[email protected]> | 2024-10-15 21:33:21 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2024-11-24 18:57:49 +0000 |
| commit | ad55c5c00ff9aac1ee0e7f6ca1205bfa79789d0b (patch) | |
| tree | 34191e0191955ec2b552de7b34e2e1489fcae555 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag (diff) | |
| download | kernel-ad55c5c00ff9aac1ee0e7f6ca1205bfa79789d0b.tar.gz kernel-ad55c5c00ff9aac1ee0e7f6ca1205bfa79789d0b.zip | |
mailbox: ti-msgmgr: Remove use of of_match_ptr() helper
When OF support is disabled the of_device_id struct match table can be
conditionally compiled out, this helper allows the assignment to also be
turned into a NULL conditionally. When the of_device_id struct is not
conditionally defined based on OF then the table will be unused causing a
warning. The two options are to either set the table as _maybe_unused, or
to just remove this helper since the table will always be defined.
Do the latter here.
Signed-off-by: Andrew Davis <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Reviewed-by: Nishanth Menon <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
