crypto: atmel-{aes,sha,tdes} - Stop passing unused argument in _dma_init()
pdata is not used. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
644c247e8e
commit
827a98df67
@@ -2481,8 +2481,7 @@ err_sha_1_256_algs:
|
||||
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;
|
||||
|
||||
|
Reference in New Issue
Block a user