diff options
Diffstat (limited to 'drivers/devfreq/devfreq.c')
-rw-r--r-- | drivers/devfreq/devfreq.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index abfa14dd8b4c..44c407986f64 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c | |||
@@ -527,6 +527,8 @@ EXPORT_SYMBOL(devfreq_add_device); | |||
527 | /** | 527 | /** |
528 | * devfreq_remove_device() - Remove devfreq feature from a device. | 528 | * devfreq_remove_device() - Remove devfreq feature from a device. |
529 | * @devfreq: the devfreq instance to be removed | 529 | * @devfreq: the devfreq instance to be removed |
530 | * | ||
531 | * The opposite of devfreq_add_device(). | ||
530 | */ | 532 | */ |
531 | int devfreq_remove_device(struct devfreq *devfreq) | 533 | int devfreq_remove_device(struct devfreq *devfreq) |
532 | { | 534 | { |
@@ -542,6 +544,10 @@ EXPORT_SYMBOL(devfreq_remove_device); | |||
542 | /** | 544 | /** |
543 | * devfreq_suspend_device() - Suspend devfreq of a device. | 545 | * devfreq_suspend_device() - Suspend devfreq of a device. |
544 | * @devfreq: the devfreq instance to be suspended | 546 | * @devfreq: the devfreq instance to be suspended |
547 | * | ||
548 | * This function is intended to be called by the pm callbacks | ||
549 | * (e.g., runtime_suspend, suspend) of the device driver that | ||
550 | * holds the devfreq. | ||
545 | */ | 551 | */ |
546 | int devfreq_suspend_device(struct devfreq *devfreq) | 552 | int devfreq_suspend_device(struct devfreq *devfreq) |
547 | { | 553 | { |
@@ -559,6 +565,10 @@ EXPORT_SYMBOL(devfreq_suspend_device); | |||
559 | /** | 565 | /** |
560 | * devfreq_resume_device() - Resume devfreq of a device. | 566 | * devfreq_resume_device() - Resume devfreq of a device. |
561 | * @devfreq: the devfreq instance to be resumed | 567 | * @devfreq: the devfreq instance to be resumed |
568 | * | ||
569 | * This function is intended to be called by the pm callbacks | ||
570 | * (e.g., runtime_resume, resume) of the device driver that | ||
571 | * holds the devfreq. | ||
562 | */ | 572 | */ |
563 | int devfreq_resume_device(struct devfreq *devfreq) | 573 | int devfreq_resume_device(struct devfreq *devfreq) |
564 | { | 574 | { |