summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-03-06 10:56:49 +0300
committerGeorgi Djakov <djakov@kernel.org>2023-03-20 17:44:04 +0300
commit419405c92299d793b95053aa54d95e2d3f45a1a4 (patch)
tree5e1826b1e8cfb4a79b2ace94446b4c598b9dec99 /drivers
parent213913ff2b89ab5ba76aceba24198b217e8e325c (diff)
downloadlinux-419405c92299d793b95053aa54d95e2d3f45a1a4.tar.xz
interconnect: drop racy registration API
Now that all interconnect drivers have been converted to the new provider registration API, the old racy interface can be removed. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20230306075651.2449-22-johan+linaro@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/interconnect/core.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c
index 4175a42bf748..da456329c524 100644
--- a/drivers/interconnect/core.c
+++ b/drivers/interconnect/core.c
@@ -1084,22 +1084,6 @@ void icc_provider_deregister(struct icc_provider *provider)
}
EXPORT_SYMBOL_GPL(icc_provider_deregister);
-int icc_provider_add(struct icc_provider *provider)
-{
- icc_provider_init(provider);
-
- return icc_provider_register(provider);
-}
-EXPORT_SYMBOL_GPL(icc_provider_add);
-
-void icc_provider_del(struct icc_provider *provider)
-{
- WARN_ON(!list_empty(&provider->nodes));
-
- icc_provider_deregister(provider);
-}
-EXPORT_SYMBOL_GPL(icc_provider_del);
-
static const struct of_device_id __maybe_unused ignore_list[] = {
{ .compatible = "qcom,sc7180-ipa-virt" },
{ .compatible = "qcom,sc8180x-ipa-virt" },