Skip to content

Commit f3253b2

Browse files
name2965chanwoochoi
authored andcommitted
PM / devfreq: exynos: remove unused function parameter
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>
1 parent ed33fbb commit f3253b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/devfreq/exynos-bus.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ static int exynos_bus_parent_parse_of(struct device_node *np,
236236
return ret;
237237
}
238238

239-
static int exynos_bus_parse_of(struct device_node *np,
240-
struct exynos_bus *bus)
239+
static int exynos_bus_parse_of(struct exynos_bus *bus)
241240
{
242241
struct device *dev = bus->dev;
243242
struct dev_pm_opp *opp;
@@ -408,7 +407,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
408407
}
409408

410409
/* Parse the device-tree to get the resource information */
411-
ret = exynos_bus_parse_of(np, bus);
410+
ret = exynos_bus_parse_of(bus);
412411
if (ret < 0)
413412
goto err_reg;
414413

0 commit comments

Comments
 (0)