mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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>
This commit is contained in:
parent
ed33fbb5d5
commit
f3253b2353
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue