From: Markus Elfring <elfr...@users.sourceforge.net>
Date: Wed, 14 Feb 2018 10:47:31 +0100

Replace the function name in this error message so that the same name
is mentioned according to what was called before.

Signed-off-by: Markus Elfring <elfr...@users.sourceforge.net>
---
 drivers/crypto/ux500/cryp/cryp_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/ux500/cryp/cryp_core.c 
b/drivers/crypto/ux500/cryp/cryp_core.c
index 07cc92f88933..7c811d7eb274 100644
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -1478,7 +1478,7 @@ static int ux500_cryp_probe(struct platform_device *pdev)
        }
 
        if (cryp_check(device_data)) {
-               dev_err(dev, "[%s]: cryp_init() failed!", __func__);
+               dev_err(dev, "[%s]: cryp_check() failed!", __func__);
                ret = -EINVAL;
                goto out_power;
        }
-- 
2.16.1

Reply via email to