We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeac8ed commit 02bcba0Copy full SHA for 02bcba0
drivers/regulator/fixed.c
@@ -215,7 +215,7 @@ static int reg_fixed_voltage_probe(struct platform_device *pdev)
215
drvdata->enable_clock = devm_clk_get(dev, NULL);
216
if (IS_ERR(drvdata->enable_clock)) {
217
dev_err(dev, "Can't get enable-clock from devicetree\n");
218
- return -ENOENT;
+ return PTR_ERR(drvdata->enable_clock);
219
}
220
} else if (drvtype && drvtype->has_performance_state) {
221
drvdata->desc.ops = &fixed_voltage_domain_ops;
0 commit comments