PM / devfreq: style/typo fixes
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 29 Apr 2016 07:13:03 +0000 (16:13 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 3 May 2016 02:22:10 +0000 (11:22 +0900)
- Typo in comments fixed
- Unnecessary return statement removed

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/exynos-bus.c
drivers/devfreq/governor_passive.c

index 50fe1a16c5742a485bc75ab511c71b9018a6785f..2363d0a189b7791eebe80d62c25f62c5c3ac6a93 100644 (file)
@@ -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;
 
index a4b0b02ee79796d9727bcb70c7416c5059f98f7e..9ef46e2592c45616cb59471c7cb2698155b56b7e 100644 (file)
@@ -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);