mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
PM / devfreq: style/typo fixes
- Typo in comments fixed - Unnecessary return statement removed Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
This commit is contained in:
parent
a9d1f4e0cb
commit
83cb0e4d83
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue