PM / devfreq: style/typo fixes
- Typo in comments fixed - Unnecessary return statement removed Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
This commit is contained in:
parent
a9d1f4e0cb
commit
83cb0e4d83
|
@ -423,7 +423,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
/* Initalize the struct profile and governor data for parent device */
|
/* Initialize the struct profile and governor data for parent device */
|
||||||
profile->polling_ms = 50;
|
profile->polling_ms = 50;
|
||||||
profile->target = exynos_bus_target;
|
profile->target = exynos_bus_target;
|
||||||
profile->get_dev_status = exynos_bus_get_dev_status;
|
profile->get_dev_status = exynos_bus_get_dev_status;
|
||||||
|
@ -471,7 +471,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
passive:
|
passive:
|
||||||
/* Initalize the struct profile and governor data for passive device */
|
/* Initialize the struct profile and governor data for passive device */
|
||||||
profile->target = exynos_bus_passive_target;
|
profile->target = exynos_bus_passive_target;
|
||||||
profile->exit = exynos_bus_passive_exit;
|
profile->exit = exynos_bus_passive_exit;
|
||||||
|
|
||||||
|
|
|
@ -196,8 +196,6 @@ static void __exit devfreq_passive_exit(void)
|
||||||
ret = devfreq_remove_governor(&devfreq_passive);
|
ret = devfreq_remove_governor(&devfreq_passive);
|
||||||
if (ret)
|
if (ret)
|
||||||
pr_err("%s: failed remove governor %d\n", __func__, ret);
|
pr_err("%s: failed remove governor %d\n", __func__, ret);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
module_exit(devfreq_passive_exit);
|
module_exit(devfreq_passive_exit);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue