]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PM / devfreq: exynos: remove unused function parameter
authorJeongjun Park <aha310510@gmail.com>
Fri, 10 Jan 2025 17:35:20 +0000 (02:35 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Sat, 11 Jan 2025 12:03:07 +0000 (21:03 +0900)
exynos_bus_parse_of() still declares a parameter struct device_node that
is not used yet. This parameter is unnecessary and should be removed.

Signed-off-by: Jeongjun Park <aha310510@gmail.com>
drivers/devfreq/exynos-bus.c

index 7d06c476d8e992fc4b7c2a31bf0b6ab4b44554e2..b9ea7ad2e51b27f1bb95cdd6add66d7b1f6c4d9d 100644 (file)
@@ -236,8 +236,7 @@ err_regulator:
        return ret;
 }
 
-static int exynos_bus_parse_of(struct device_node *np,
-                             struct exynos_bus *bus)
+static int exynos_bus_parse_of(struct exynos_bus *bus)
 {
        struct device *dev = bus->dev;
        struct dev_pm_opp *opp;
@@ -408,7 +407,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
        }
 
        /* Parse the device-tree to get the resource information */
-       ret = exynos_bus_parse_of(np, bus);
+       ret = exynos_bus_parse_of(bus);
        if (ret < 0)
                goto err_reg;