summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-28 13:24:44 -0600
committerTom Rini <[email protected]>2025-10-28 13:27:27 -0600
commit9ed8fafbcde3425d8817ec5953edd428c7508153 (patch)
tree55dc3ccc95746f8a445f2a841419c8186332c41a /drivers
parent80a3c2fda24846df44f6a363d71516c098b9e5c8 (diff)
Revert "clk: Return value calculated by ERR_PTR"
This reverts commit 644b4650ee57c429bede77f44752cc867dac0e00. While the intention of the above commit is correct, it leads to test failures in CI that need to be addressed at the same time. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c
index dc01f612ba6..3dbe1ce9441 100644
--- a/drivers/clk/clk-uclass.c
+++ b/drivers/clk/clk-uclass.c
@@ -199,7 +199,7 @@ static struct clk *clk_set_default_get_by_id(struct clk *clk)
if (ret) {
debug("%s(): could not get parent clock pointer, id %lu\n",
__func__, clk->id);
- return ERR_PTR(ret);
+ ERR_PTR(ret);
}
}