video: bridge: tc358768: remove need in clock name
authorSvyatoslav Ryhel <clamor95@gmail.com>
Sun, 23 Feb 2025 09:41:10 +0000 (11:41 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Thu, 13 Mar 2025 17:13:18 +0000 (19:13 +0200)
Bridge uses only one clock and enforcing name to be set may
cause issues in the future.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/video/bridge/tc358768.c

index 6f1b057..358004f 100644 (file)
@@ -951,7 +951,7 @@ static int tc358768_setup(struct udevice *dev)
        }
 
        /* get clk */
-       priv->refclk = devm_clk_get(dev, "refclk");
+       priv->refclk = devm_clk_get(dev, NULL);
        if (IS_ERR(priv->refclk)) {
                log_debug("%s: Could not get refclk: %ld\n",
                          __func__, PTR_ERR(priv->refclk));