phy: Remove unused phy_optional_get()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 24 Jan 2023 18:37:20 +0000 (19:37 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 3 Feb 2023 05:22:49 +0000 (10:52 +0530)
commit1bd9a7b4afd5e0b938868a90b16d514c19808e6c
treecf77ad076739c2ef37f18ca4fa781ed75ec64271
parent1b929c02afd37871d5afb9d498426f83432e71c2
phy: Remove unused phy_optional_get()

There were never any upstream users of this function since its
introduction almost 10 years ago.

Besides, the dummy for phy_optional_get() should have returned NULL
instead of an error code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/df61992b1d66bccf4e6e1eafae94a7f7d7629f34.1674584626.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/driver-api/phy/phy.rst
drivers/phy/phy-core.c
include/linux/phy/phy.h