Re: [PATCH 06/61] crypto: simplify getting .drvdata

From: Herbert Xu
Date: Sat Apr 28 2018 - 04:25:17 EST


On Thu, Apr 19, 2018 at 04:05:36PM +0200, Wolfram Sang wrote:
> We should get drvdata from struct device directly. Going via
> platform_device is an unneeded step back and forth.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
>
> Build tested only. buildbot is happy. Please apply individually.
>
> drivers/crypto/exynos-rng.c | 6 ++----
> drivers/crypto/picoxcell_crypto.c | 6 ++----
> 2 files changed, 4 insertions(+), 8 deletions(-)

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