crypto: stm32/cryp - don't print error on probe deferral
Change driver to not print an error message when the device probe is deferred for a clock resource. Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Родитель
0a2f9f57c6
Коммит
029812aee3
|
@ -1955,7 +1955,8 @@ static int stm32_cryp_probe(struct platform_device *pdev)
|
|||
|
||||
cryp->clk = devm_clk_get(dev, NULL);
|
||||
if (IS_ERR(cryp->clk)) {
|
||||
dev_err(dev, "Could not get clock\n");
|
||||
dev_err_probe(dev, PTR_ERR(cryp->clk), "Could not get clock\n");
|
||||
|
||||
return PTR_ERR(cryp->clk);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче