]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: amd-mp2: clean up amd_mp2_find_device()
authorJohan Hovold <johan@kernel.org>
Wed, 10 Dec 2025 04:02:58 +0000 (13:02 +0900)
committerAndi Shyti <andi.shyti@kernel.org>
Fri, 16 Jan 2026 12:45:05 +0000 (13:45 +0100)
commit7021f6c038d0ecd1535e279dfd18dc4bf2dd899e
tree70c4d85b2a9df3fea89841c98a94d698d5e4f713
parent518edab3ad4f61204af788b3dcf9ed4087cdc275
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>
drivers/i2c/busses/i2c-amd-mp2-pci.c