diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/devfreq/devfreq.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index f2f8a976c465..a42f69b34eb2 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c | |||
@@ -265,9 +265,9 @@ out: | |||
265 | /** | 265 | /** |
266 | * devfreq_notifier_call() - Notify that the device frequency requirements | 266 | * devfreq_notifier_call() - Notify that the device frequency requirements |
267 | * has been changed out of devfreq framework. | 267 | * has been changed out of devfreq framework. |
268 | * @nb the notifier_block (supposed to be devfreq->nb) | 268 | * @nb: the notifier_block (supposed to be devfreq->nb) |
269 | * @type not used | 269 | * @type: not used |
270 | * @devp not used | 270 | * @devp: not used |
271 | * | 271 | * |
272 | * Called by a notifier that uses devfreq->nb. | 272 | * Called by a notifier that uses devfreq->nb. |
273 | */ | 273 | */ |
@@ -414,7 +414,7 @@ EXPORT_SYMBOL(devfreq_add_device); | |||
414 | 414 | ||
415 | /** | 415 | /** |
416 | * devfreq_remove_device() - Remove devfreq feature from a device. | 416 | * devfreq_remove_device() - Remove devfreq feature from a device. |
417 | * @devfreq the devfreq instance to be removed | 417 | * @devfreq: the devfreq instance to be removed |
418 | */ | 418 | */ |
419 | int devfreq_remove_device(struct devfreq *devfreq) | 419 | int devfreq_remove_device(struct devfreq *devfreq) |
420 | { | 420 | { |
@@ -619,9 +619,9 @@ module_exit(devfreq_exit); | |||
619 | /** | 619 | /** |
620 | * devfreq_recommended_opp() - Helper function to get proper OPP for the | 620 | * devfreq_recommended_opp() - Helper function to get proper OPP for the |
621 | * freq value given to target callback. | 621 | * freq value given to target callback. |
622 | * @dev The devfreq user device. (parent of devfreq) | 622 | * @dev: The devfreq user device. (parent of devfreq) |
623 | * @freq The frequency given to target function | 623 | * @freq: The frequency given to target function |
624 | * @flags Flags handed from devfreq framework. | 624 | * @flags: Flags handed from devfreq framework. |
625 | * | 625 | * |
626 | */ | 626 | */ |
627 | struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq, | 627 | struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq, |
@@ -652,8 +652,8 @@ struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq, | |||
652 | * devfreq_register_opp_notifier() - Helper function to get devfreq notified | 652 | * devfreq_register_opp_notifier() - Helper function to get devfreq notified |
653 | * for any changes in the OPP availability | 653 | * for any changes in the OPP availability |
654 | * changes | 654 | * changes |
655 | * @dev The devfreq user device. (parent of devfreq) | 655 | * @dev: The devfreq user device. (parent of devfreq) |
656 | * @devfreq The devfreq object. | 656 | * @devfreq: The devfreq object. |
657 | */ | 657 | */ |
658 | int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) | 658 | int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) |
659 | { | 659 | { |
@@ -668,8 +668,8 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) | |||
668 | * devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq | 668 | * devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq |
669 | * notified for any changes in the OPP | 669 | * notified for any changes in the OPP |
670 | * availability changes anymore. | 670 | * availability changes anymore. |
671 | * @dev The devfreq user device. (parent of devfreq) | 671 | * @dev: The devfreq user device. (parent of devfreq) |
672 | * @devfreq The devfreq object. | 672 | * @devfreq: The devfreq object. |
673 | * | 673 | * |
674 | * At exit() callback of devfreq_dev_profile, this must be included if | 674 | * At exit() callback of devfreq_dev_profile, this must be included if |
675 | * devfreq_recommended_opp is used. | 675 | * devfreq_recommended_opp is used. |