crypto: ux500 - Adjust an error message in ux500_cryp_probe()
authorMarkus Elfring <[email protected]>
Wed, 14 Feb 2018 09:47:31 +0000 (10:47 +0100)
committerHerbert Xu <[email protected]>
Thu, 22 Feb 2018 14:16:34 +0000 (22:16 +0800)
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/ux500/cryp/cryp_core.c

index 07cc92f889332cd287e3a648b91e28aaa1a55ac9..7c811d7eb274a8886bed41635e62e0a5f08f5d0f 100644 (file)
@@ -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;
        }