msm8974.c (446279168e030fd0ed68e2bba336bef8bb3da352) msm8974.c (919d4e1a207e9e837404c49e1386f210ac305f67)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 Brian Masney <masneyb@onstation.org>
4 *
5 * Based on MSM bus code from downstream MSM kernel sources.
6 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
7 *
8 * Based on qcs404.c

--- 735 unchanged lines hidden (view full) ---

744}
745
746static int msm8974_icc_remove(struct platform_device *pdev)
747{
748 struct msm8974_icc_provider *qp = platform_get_drvdata(pdev);
749
750 icc_nodes_remove(&qp->provider);
751 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 Brian Masney <masneyb@onstation.org>
4 *
5 * Based on MSM bus code from downstream MSM kernel sources.
6 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
7 *
8 * Based on qcs404.c

--- 735 unchanged lines hidden (view full) ---

744}
745
746static int msm8974_icc_remove(struct platform_device *pdev)
747{
748 struct msm8974_icc_provider *qp = platform_get_drvdata(pdev);
749
750 icc_nodes_remove(&qp->provider);
751 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks);
752 return icc_provider_del(&qp->provider);
752 icc_provider_del(&qp->provider);
753
754 return 0;
753}
754
755static const struct of_device_id msm8974_noc_of_match[] = {
756 { .compatible = "qcom,msm8974-bimc", .data = &msm8974_bimc},
757 { .compatible = "qcom,msm8974-cnoc", .data = &msm8974_cnoc},
758 { .compatible = "qcom,msm8974-mmssnoc", .data = &msm8974_mnoc},
759 { .compatible = "qcom,msm8974-ocmemnoc", .data = &msm8974_onoc},
760 { .compatible = "qcom,msm8974-pnoc", .data = &msm8974_pnoc},

--- 18 unchanged lines hidden ---
755}
756
757static const struct of_device_id msm8974_noc_of_match[] = {
758 { .compatible = "qcom,msm8974-bimc", .data = &msm8974_bimc},
759 { .compatible = "qcom,msm8974-cnoc", .data = &msm8974_cnoc},
760 { .compatible = "qcom,msm8974-mmssnoc", .data = &msm8974_mnoc},
761 { .compatible = "qcom,msm8974-ocmemnoc", .data = &msm8974_onoc},
762 { .compatible = "qcom,msm8974-pnoc", .data = &msm8974_pnoc},

--- 18 unchanged lines hidden ---