mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'pm-cpufreq' into fixes
* pm-cpufreq: imx6q-cpufreq: fix return value check in imx6q_cpufreq_probe() PM / OPP: fix condition for empty of_init_opp_table()
This commit is contained in:
commit
d3caf89433
2 changed files with 10 additions and 10 deletions
|
|
@ -245,7 +245,7 @@ static int imx6q_cpufreq_probe(struct platform_device *pdev)
|
|||
arm_reg = devm_regulator_get(cpu_dev, "arm");
|
||||
pu_reg = devm_regulator_get(cpu_dev, "pu");
|
||||
soc_reg = devm_regulator_get(cpu_dev, "soc");
|
||||
if (!arm_reg || !pu_reg || !soc_reg) {
|
||||
if (IS_ERR(arm_reg) || IS_ERR(pu_reg) || IS_ERR(soc_reg)) {
|
||||
dev_err(cpu_dev, "failed to get regulators\n");
|
||||
ret = -ENOENT;
|
||||
goto put_node;
|
||||
|
|
|
|||
Loading…
Reference in a new issue