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

Commit 71796210 authored by Abhilash Kesavan's avatar Abhilash Kesavan Committed by Rafael J. Wysocki
Browse files

cpufreq: cpufreq-dt: Fix arguments in clock failure error message



Fix the swapped arguments in the clock failure dev_err.

Signed-off-by: default avatarAbhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 0df1f248
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -166,8 +166,8 @@ static int allocate_resources(int cpu, struct device **cdev,
		if (ret == -EPROBE_DEFER)
			dev_dbg(cpu_dev, "cpu%d clock not ready, retry\n", cpu);
		else
			dev_err(cpu_dev, "failed to get cpu%d clock: %d\n", ret,
				cpu);
			dev_err(cpu_dev, "failed to get cpu%d clock: %d\n", cpu,
				ret);
	} else {
		*cdev = cpu_dev;
		*creg = cpu_reg;