of: Move of_device_get_match_data() declaration
authorRob Herring <robh@kernel.org>
Wed, 29 Mar 2023 15:52:00 +0000 (10:52 -0500)
committerRob Herring <robh@kernel.org>
Thu, 13 Apr 2023 22:46:15 +0000 (17:46 -0500)
commit82174a0a9c5cf36a3e421fc1d2c86998d8023f61
treedd8dcb336931639fcbe481738c18601faf2431a8
parent4c32fb7dcf65b16cc7b2837ccfc35d00be92bddb
of: Move of_device_get_match_data() declaration

of_device.h mostly defines functions for bus drivers whereas
of_device_get_match_data() is used by drivers. Let's move it to of.h.

Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-3-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of.h
include/linux/of_device.h