Commit 83cb0e4d authored by MyungJoo Ham's avatar MyungJoo Ham

PM / devfreq: style/typo fixes

- Typo in comments fixed
- Unnecessary return statement removed
Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
parent a9d1f4e0
...@@ -423,7 +423,7 @@ static int exynos_bus_probe(struct platform_device *pdev) ...@@ -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) ...@@ -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) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment