summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-04-29 07:13:03 (GMT)
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-05-03 02:22:10 (GMT)
commit83cb0e4d837af4348cc218638e9d6daddd21d260 (patch)
tree76210fbe08a14c31dc824cc224747b7b3b7e1339 /drivers/devfreq
parenta9d1f4e0cb80b917f68e5b007436d50797c4eeab (diff)
downloadlinux-83cb0e4d837af4348cc218638e9d6daddd21d260.tar.xz
PM / devfreq: style/typo fixes
- Typo in comments fixed - Unnecessary return statement removed Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/exynos-bus.c4
-rw-r--r--drivers/devfreq/governor_passive.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/devfreq/exynos-bus.c b/drivers/devfreq/exynos-bus.c
index 50fe1a1..2363d0a 100644
--- a/drivers/devfreq/exynos-bus.c
+++ b/drivers/devfreq/exynos-bus.c
@@ -423,7 +423,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
if (ret < 0)
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->target = exynos_bus_target;
profile->get_dev_status = exynos_bus_get_dev_status;
@@ -471,7 +471,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
goto out;
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->exit = exynos_bus_passive_exit;
diff --git a/drivers/devfreq/governor_passive.c b/drivers/devfreq/governor_passive.c
index a4b0b02..9ef46e2 100644
--- a/drivers/devfreq/governor_passive.c
+++ b/drivers/devfreq/governor_passive.c
@@ -196,8 +196,6 @@ static void __exit devfreq_passive_exit(void)
ret = devfreq_remove_governor(&devfreq_passive);
if (ret)
pr_err("%s: failed remove governor %d\n", __func__, ret);
-
- return;
}
module_exit(devfreq_passive_exit);