diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-04-29 16:13:03 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-05-03 11:22:10 +0900 |
commit | 83cb0e4d837af4348cc218638e9d6daddd21d260 (patch) | |
tree | 76210fbe08a14c31dc824cc224747b7b3b7e1339 /drivers/devfreq | |
parent | a9d1f4e0cb80b917f68e5b007436d50797c4eeab (diff) | |
download | talos-obmc-linux-83cb0e4d837af4348cc218638e9d6daddd21d260.tar.gz talos-obmc-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.c | 4 | ||||
-rw-r--r-- | drivers/devfreq/governor_passive.c | 2 |
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); |