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:
MyungJoo Ham 2016-04-29 16:13:03 +09:00
parent a9d1f4e0cb
commit 83cb0e4d83
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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);