From 83cb0e4d837af4348cc218638e9d6daddd21d260 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Fri, 29 Apr 2016 16:13:03 +0900 Subject: [PATCH] PM / devfreq: style/typo fixes - Typo in comments fixed - Unnecessary return statement removed Signed-off-by: MyungJoo Ham --- drivers/devfreq/exynos-bus.c | 4 ++-- 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);