hwrng: rockchip - eliminate some unnecessary dereferences

Despite assigning a temporary variable the value of &pdev->dev early on
in the probe function, the probe function then continues to use this
construct when it could just use the local dev variable instead.

Simplify this by using the local dev variable directly.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Nicolas Frattaroli 2025-02-04 16:35:49 +01:00 • committed by Herbert Xu
commit 24aaa42ed6