From: Vladimir Zapolskiy Date: Fri, 21 Apr 2023 17:50:36 +0000 (+0300) Subject: serial: msm-geni: remove invalid se-clk clock name X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9dd480c30db8de0663b046edfa3e6a5e85065623;p=u-boot.git serial: msm-geni: remove invalid se-clk clock name There is only one clock supplier to the serial IP, thus getting it by name is not needed, also note that "clock-names" property is not listed under doc/device-tree-bindings/serial/msm-geni-serial.txt, and finally "se-clk" clock name is invalid, if added, it shall get "se" value like it's already described in Linux device tree documentation. Signed-off-by: Vladimir Zapolskiy Reviewed-by: Konrad Dybcio --- diff --git a/drivers/serial/serial_msm_geni.c b/drivers/serial/serial_msm_geni.c index 146b057484..8fd769eb4d 100644 --- a/drivers/serial/serial_msm_geni.c +++ b/drivers/serial/serial_msm_geni.c @@ -183,7 +183,7 @@ static int geni_serial_set_clock_rate(struct udevice *dev, u64 rate) struct clk *clk; int ret; - clk = devm_clk_get(dev, "se-clk"); + clk = devm_clk_get(dev, NULL); if (!clk) return -EINVAL;