of: Export of_remove_property() to modules
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 4 Sep 2020 21:37:29 +0000 (14:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 20:09:03 +0000 (13:09 -0700)
commit0f7c5317b89058e432d3e97efa19467ff4c3b86b
tree4595c7c1eab08cf86e5c1022fb2f14a38a47f210
parent447a851bdb1a3b329fb01f66c467c2e6888af72b
of: Export of_remove_property() to modules

We will need to remove some OF properties in drivers/net/dsa/bcm_sf2.c
with a subsequent commit. Export of_remove_property() to modules so we
can keep bcm_sf2 modular and provide an empty stub for when CONFIG_OF is
disabled to maintain the ability to compile test.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/of/base.c
include/linux/of.h