{
        if (IS_ENABLED(CONFIG_OF) && (pdev->dev.of_node)) {
                const struct of_device_id *match;
+
                match = of_match_node(s5p_sss_dt_match,
                                        pdev->dev.of_node);
                return (struct samsung_aes_variant *)match->data;
 static void s5p_aes_crypt_start(struct s5p_aes_dev *dev, unsigned long mode)
 {
        struct ablkcipher_request  *req = dev->req;
-
        uint32_t                    aes_control;
        int                         err;
        unsigned long               flags;
        struct s5p_aes_dev         *dev    = ctx->dev;
 
        if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) {
-               pr_err("request size is not exact amount of AES blocks\n");
+               dev_err(dev->dev, "request size is not exact amount of AES blocks\n");
                return -EINVAL;
        }
 
 
 static int s5p_aes_cra_init(struct crypto_tfm *tfm)
 {
-       struct s5p_aes_ctx  *ctx = crypto_tfm_ctx(tfm);
+       struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm);
 
        ctx->dev = s5p_dev;
        tfm->crt_ablkcipher.reqsize = sizeof(struct s5p_aes_reqctx);
                        goto err_algs;
        }
 
-       pr_info("s5p-sss driver registered\n");
+       dev_info(dev, "s5p-sss driver registered\n");
 
        return 0;