]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: clk-gpio: use dev_err_probe for gpio-get failure
authorHeiko Stuebner <heiko@sntech.de>
Fri, 6 Sep 2024 08:25:09 +0000 (10:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 Oct 2024 23:04:19 +0000 (16:04 -0700)
commit36abe81d9c3fa200a57ef2363e93a2991e387e19
treedc84a76161e8394b633309e805ca580f6a725aa5
parent6cb137c7e99f8307f1f0fcccb1896f2d3b0651d3
clk: clk-gpio: use dev_err_probe for gpio-get failure

This is a real driver and dev_err_probe will hide the distinction between
EPROBE_DEFER and other errors automatically, so there is no need to
open-code this.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240906082511.2963890-4-heiko@sntech.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-gpio.c