diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-12-13 12:54:49 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-20 09:58:34 +0300 |
commit | 827a98df67f1b75f00b01d1931c110f8f7a5f167 (patch) | |
tree | 1125d765f64e6822e55d731d1200e88b65973f7a /drivers/crypto/atmel-sha.c | |
parent | 644c247e8e35f36d6850bcc1da56a4cb79780825 (diff) | |
download | linux-827a98df67f1b75f00b01d1931c110f8f7a5f167.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
-rw-r--r-- | drivers/crypto/atmel-sha.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 21fcc04f6688..a0d42bdc311f 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -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; |