summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
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);