summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-04-29 09:13:03 +0200
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-05-03 04:22:10 +0200
commit83cb0e4d837af4348cc218638e9d6daddd21d260 (patch)
tree76210fbe08a14c31dc824cc224747b7b3b7e1339 /drivers/devfreq
parentPM / devfreq: exynos: Add the detailed correlation for Exynos5422 bus (diff)
downloadlinux-83cb0e4d837af4348cc218638e9d6daddd21d260.tar.xz
linux-83cb0e4d837af4348cc218638e9d6daddd21d260.zip
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 50fe1a16c574..2363d0a189b7 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 a4b0b02ee797..9ef46e2592c4 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);