phy: amlogic: meson8b-usb2: Use dev_err_probe()
authorAmjad Ouled-Ameur <aouledameur@baylibre.com>
Tue, 11 Jan 2022 09:52:54 +0000 (10:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:59:11 +0000 (20:59 +0200)
commitab27675a0fcc2781f892cf2fd15f1c609821d1d9
treecb0dc292899184499767d0123f9b9f80b651688b
parent35df38c4be0c5edc5a50599e3bbedcdfbfa48004
phy: amlogic: meson8b-usb2: Use dev_err_probe()

[ Upstream commit 6466ba1898d415b527e1013bd8551a6fdfece94c ]

Use the existing dev_err_probe() helper instead of open-coding the same
operation.

Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Reported-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220111095255.176141-3-aouledameur@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/amlogic/phy-meson8b-usb2.c