Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e0cf1ef authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: msm: clock-cpu: Remove unused apc0 device node usage"

parents 3f6de9f6 7ed5f65b
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -563,24 +563,9 @@ static void print_opp_table(int a53_pwr_cpu, int a53_perf_cpu)

static void populate_opp_table(struct platform_device *pdev)
{
	struct platform_device *apc0_dev;
	struct device_node *apc0_node;
	unsigned long apc0_fmax;
	int cpu, a53_pwr_cpu, a53_perf_cpu;

	apc0_node = of_parse_phandle(pdev->dev.of_node, "vdd-cl-supply",
								0);
	if (!apc0_node) {
		pr_err("can't find the apc0 dt node.\n");
		return;
	}

	apc0_dev = of_find_device_by_node(apc0_node);
	if (!apc0_dev) {
		pr_err("can't find the apc0 device node.\n");
		return;
	}

	apc0_fmax = a53_pwr_clk.c.fmax[a53_pwr_clk.c.num_fmax - 1];

	for_each_possible_cpu(cpu) {