Re: [PATCH] crypto: talitos: pass talitos_private to irq handlers

From: Herbert Xu

Date: Fri Sep 04 2026 - 05:12:42 EST


On Mon, Aug 10, 2026 at 09:39:53PM -0700, Rosen Penev wrote:
> The irq handlers only need priv, which they can get from the
> dev_get_drvdata() they currently perform on the struct device passed
> as data. Pass priv directly as the irq handler data and drop the
> dev_get_drvdata() call, while deriving dev from priv->dev where
> still needed.
>
> Assisted-by: opencode:deepseek-v4-flash-free
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> drivers/crypto/talitos.c | 18 ++++++++----------
> 1 file changed, 8 insertions(+), 10 deletions(-)

Please review the Sashiko comments:

https://sashiko.dev/#/patchset/20260811043953.150589-1-rosenp%40gmail.com

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt