]> git.hungrycats.org Git - linux/commit
mfd: rz-mtu3: Store &pdev->dev in local variable
authorCosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Wed, 27 May 2026 14:56:05 +0000 (17:56 +0300)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:33:05 +0000 (11:33 +0100)
commita3bd9f3dd5c88c621e4bc4ecd5f2ae9c277f558a
tree5e7241a3f93a46e2a5a2f34bd05c924c680b170d
parent4bf15cafe9588d0c303143b4c64c7bfc7b1a3a5d
mfd: rz-mtu3: Store &pdev->dev in local variable

&pdev->dev is accessed multiple times during probe. Store it in a local
variable and use that to simplify the code.

Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Link: https://patch.msgid.link/20260527145606.136536-4-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rz-mtu3.c