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 54ecb8f commit 9629dbdCopy full SHA for 9629dbd
drivers/clk/sprd/common.c
@@ -46,7 +46,7 @@ int sprd_clk_regmap_init(struct platform_device *pdev,
46
47
if (of_find_property(node, "sprd,syscon", NULL)) {
48
regmap = syscon_regmap_lookup_by_phandle(node, "sprd,syscon");
49
- if (IS_ERR_OR_NULL(regmap)) {
+ if (IS_ERR(regmap)) {
50
pr_err("%s: failed to get syscon regmap\n", __func__);
51
return PTR_ERR(regmap);
52
}
0 commit comments