Commit ad55c5c0 authored by Andrew Davis's avatar Andrew Davis Committed by Jassi Brar
Browse files

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: default avatarAndrew Davis <afd@ti.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent bfa0e78d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment