i2c: amd-mp2: clean up amd_mp2_find_device()

Rename the driver data pointer for consistency with the rest of the
driver and drop a redundant cast.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20251210040258.60106-1-johan@kernel.org
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
Johan Hovold 2025-12-10 13:02:58 +09:00 • committed by Andi Shyti
commit 7021f6c038
No known key found for this signature in database
GPG key ID: DA78056626D32D6E