[PATCH] crypto: atmel-i2c: Drop unused id parameter from atmel_i2c_probe()
Herbert Xu
herbert at gondor.apana.org.au
Fri Feb 10 01:45:58 PST 2023
On Tue, Jan 31, 2023 at 09:13:51AM +0100, Uwe Kleine-König wrote:
> 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 at pengutronix.de>
> ---
> Hello,
>
> just found a nice optimisation while grepping for something else in the
> tree ...
>
> Best regards
> Uwe
>
> drivers/crypto/atmel-ecc.c | 3 +--
> drivers/crypto/atmel-i2c.c | 2 +-
> drivers/crypto/atmel-i2c.h | 2 +-
> drivers/crypto/atmel-sha204a.c | 3 +--
> 4 files changed, 4 insertions(+), 6 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list