]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: zynqmp: Store instance instead of type
authorSean Anderson <sean.anderson@linux.dev>
Fri, 28 Jun 2024 20:55:37 +0000 (16:55 -0400)
committerVinod Koul <vkoul@kernel.org>
Tue, 2 Jul 2024 13:18:09 +0000 (18:48 +0530)
commit6959d2367bc3503ac4ba3eb4ec6584a43150d6b3
treeaebf7d784dbefa6ef9208f2cf2f4e278e5c56277
parent687d6bccb28238fcfa65f7c1badfdfeac498c428
phy: zynqmp: Store instance instead of type

The phy "type" is just the combination of protocol and instance, and is
never used apart from that. Store the instance directly, instead of
converting to a type first. No functional change intended.

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://lore.kernel.org/r/20240628205540.3098010-3-sean.anderson@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/xilinx/phy-zynqmp.c