diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-01-31 11:13:51 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-10 12:20:19 +0300 |
commit | d58fa987be772a9a1e76302d80c1a1e0e15c7d8a (patch) | |
tree | ff47c9d0571a684582106896f4d2c5d957b23453 /drivers/crypto/atmel-i2c.h | |
parent | acc3f5504489691dabc6199e294b40aabe8eccfa (diff) | |
download | linux-d58fa987be772a9a1e76302d80c1a1e0e15c7d8a.tar.xz |
crypto: atmel - Drop unused id parameter from atmel_i2c_probe()
id is unused in atmel_i2c_probe() and the callers have extra efforts to
determine the right parameter. So drop the parameter simplifying both
atmel_i2c_probe() and its callers.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-i2c.h')
-rw-r--r-- | drivers/crypto/atmel-i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-i2c.h b/drivers/crypto/atmel-i2c.h index 2872ed8cf3b5..610d7dddd922 100644 --- a/drivers/crypto/atmel-i2c.h +++ b/drivers/crypto/atmel-i2c.h @@ -167,7 +167,7 @@ struct atmel_i2c_work_data { struct atmel_i2c_cmd cmd; }; -int atmel_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id); +int atmel_i2c_probe(struct i2c_client *client); void atmel_i2c_enqueue(struct atmel_i2c_work_data *work_data, void (*cbk)(struct atmel_i2c_work_data *work_data, |