mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
soc: mediatek: pm-domains: Simplify some error message
dev_err_probe() already prints the error code in a human readable way, so there is no need to duplicate it as a numerical value at the end of the message. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/e6ba80d8e27fdb2b1527c7eae6687e481960c81d.1659735996.git.christophe.jaillet@wanadoo.fr Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
9d0d887ac7
commit
385ba16dbf
@ -393,7 +393,7 @@ generic_pm_domain *scpsys_add_one_domain(struct scpsys *scpsys, struct device_no
|
||||
if (IS_ERR(clk)) {
|
||||
ret = PTR_ERR(clk);
|
||||
dev_err_probe(scpsys->dev, ret,
|
||||
"%pOF: failed to get clk at index %d: %d\n", node, i, ret);
|
||||
"%pOF: failed to get clk at index %d\n", node, i);
|
||||
goto err_put_clocks;
|
||||
}
|
||||
|
||||
@ -405,8 +405,8 @@ generic_pm_domain *scpsys_add_one_domain(struct scpsys *scpsys, struct device_no
|
||||
if (IS_ERR(clk)) {
|
||||
ret = PTR_ERR(clk);
|
||||
dev_err_probe(scpsys->dev, ret,
|
||||
"%pOF: failed to get clk at index %d: %d\n", node,
|
||||
i + clk_ind, ret);
|
||||
"%pOF: failed to get clk at index %d\n", node,
|
||||
i + clk_ind);
|
||||
goto err_put_subsys_clocks;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user