clk: qcom: Remove error prints from DFS registration
These aren't useful and they reference the init structure name. Let's just drop them. Cc: Taniya Das <tdas@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lkml.kernel.org/r/20190815160020.183334-5-sboyd@kernel.org Acked-by: Taniya Das <tdas@codeaurora.org>
This commit is contained in:
parent
21ef77de22
commit
c42144139a
|
@ -1105,8 +1105,6 @@ static int clk_rcg2_enable_dfs(const struct clk_rcg_dfs_data *data,
|
|||
|
||||
rcg->freq_tbl = NULL;
|
||||
|
||||
pr_debug("DFS registered for clk %s\n", init->name);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1117,12 +1115,8 @@ int qcom_cc_register_rcg_dfs(struct regmap *regmap,
|
|||
|
||||
for (i = 0; i < len; i++) {
|
||||
ret = clk_rcg2_enable_dfs(&rcgs[i], regmap);
|
||||
if (ret) {
|
||||
const char *name = rcgs[i].init->name;
|
||||
|
||||
pr_err("DFS register failed for clk %s\n", name);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue