Commit 827a98df authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Herbert Xu

crypto: atmel-{aes,sha,tdes} - Stop passing unused argument in _dma_init()

pdata is not used.
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 644c247e
......@@ -2270,8 +2270,7 @@ static void atmel_aes_buff_cleanup(struct atmel_aes_dev *dd)
free_page((unsigned long)dd->buf);
}
static int atmel_aes_dma_init(struct atmel_aes_dev *dd,
struct crypto_platform_data *pdata)
static int atmel_aes_dma_init(struct atmel_aes_dev *dd)
{
int ret;
......@@ -2598,7 +2597,7 @@ static int atmel_aes_probe(struct platform_device *pdev)
if (err)
goto err_iclk_unprepare;
err = atmel_aes_dma_init(aes_dd, pdata);
err = atmel_aes_dma_init(aes_dd);
if (err)
goto err_buff_cleanup;
......
......@@ -2481,8 +2481,7 @@ static int atmel_sha_register_algs(struct atmel_sha_dev *dd)
return err;
}
static int atmel_sha_dma_init(struct atmel_sha_dev *dd,
struct crypto_platform_data *pdata)
static int atmel_sha_dma_init(struct atmel_sha_dev *dd)
{
dd->dma_lch_in.chan = dma_request_chan(dd->dev, "tx");
if (IS_ERR(dd->dma_lch_in.chan)) {
......@@ -2674,7 +2673,7 @@ static int atmel_sha_probe(struct platform_device *pdev)
}
}
err = atmel_sha_dma_init(sha_dd, pdata);
err = atmel_sha_dma_init(sha_dd);
if (err)
goto err_iclk_unprepare;
......
......@@ -741,8 +741,7 @@ static int atmel_tdes_crypt(struct skcipher_request *req, unsigned long mode)
return atmel_tdes_handle_queue(ctx->dd, req);
}
static int atmel_tdes_dma_init(struct atmel_tdes_dev *dd,
struct crypto_platform_data *pdata)
static int atmel_tdes_dma_init(struct atmel_tdes_dev *dd)
{
int ret;
......@@ -1268,7 +1267,7 @@ static int atmel_tdes_probe(struct platform_device *pdev)
}
}
err = atmel_tdes_dma_init(tdes_dd, pdata);
err = atmel_tdes_dma_init(tdes_dd);
if (err)
goto err_buff_cleanup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment