]> www.infradead.org Git - linux.git/commit
phy: ti: phy-j721e-wiz: use dev_err_probe() instead of dev_err()
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 16 Apr 2024 12:52:30 +0000 (14:52 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 3 Jun 2024 13:47:01 +0000 (19:17 +0530)
commit5aa4733b1b9324e224ebe59e3672887a57d51083
tree8bdf59ba582ff85a89d5d40d5649fc5919e83df2
parent7d5ebb62d72b5ea8a21fc62c8985dacae6a71ca8
phy: ti: phy-j721e-wiz: use dev_err_probe() instead of dev_err()

Use dev_err_probe() instead of dev_err() in wiz_clock_init() to simplify
the code and standardize the error output.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20240412-j7200-phy-s2r-v1-1-f15815833974@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-j721e-wiz.c