OSDN Git Service

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)
committerVinod Koul <vkoul@kernel.org>
Thu, 27 Jan 2022 06:26:54 +0000 (11:56 +0530)
commit6466ba1898d415b527e1013bd8551a6fdfece94c
treec2bc755d80e122ab8d7795c2ed1470f29252b17d
parent2f87727130ce17ffefecd0895eeebf22d5a36f6f
phy: amlogic: meson8b-usb2: Use dev_err_probe()

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>
drivers/phy/amlogic/phy-meson8b-usb2.c