diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-03-17 16:26:10 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-20 08:03:22 -0400 |
commit | 33fe0ad946bbb0a2f04f551fce68a74d8821f32e (patch) | |
tree | a35e78078702c6ad252b05ae738c8e24c03b8e56 /include/linux/pm.h | |
parent | af02b5fdb1fb3c5d5f8d71f7f84e4fb243e1ae31 (diff) |
PM / sleep: Correct whitespace errors in <linux/pm.h>
rjw> Why exactly are they errors?
Geert> checkpatch.pl says: "WARNING: please, no space before tabs",
Vim (with "let c_space_errors=1") shows them in red.
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 6fffbcd7bc37..f902ad83986e 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
@@ -379,7 +379,7 @@ const struct dev_pm_ops name = { \ | |||
379 | * | 379 | * |
380 | * ON No transition. | 380 | * ON No transition. |
381 | * | 381 | * |
382 | * FREEZE System is going to hibernate, call ->prepare() and ->freeze() | 382 | * FREEZE System is going to hibernate, call ->prepare() and ->freeze() |
383 | * for all devices. | 383 | * for all devices. |
384 | * | 384 | * |
385 | * SUSPEND System is going to suspend, call ->prepare() and ->suspend() | 385 | * SUSPEND System is going to suspend, call ->prepare() and ->suspend() |
@@ -423,7 +423,7 @@ const struct dev_pm_ops name = { \ | |||
423 | 423 | ||
424 | #define PM_EVENT_INVALID (-1) | 424 | #define PM_EVENT_INVALID (-1) |
425 | #define PM_EVENT_ON 0x0000 | 425 | #define PM_EVENT_ON 0x0000 |
426 | #define PM_EVENT_FREEZE 0x0001 | 426 | #define PM_EVENT_FREEZE 0x0001 |
427 | #define PM_EVENT_SUSPEND 0x0002 | 427 | #define PM_EVENT_SUSPEND 0x0002 |
428 | #define PM_EVENT_HIBERNATE 0x0004 | 428 | #define PM_EVENT_HIBERNATE 0x0004 |
429 | #define PM_EVENT_QUIESCE 0x0008 | 429 | #define PM_EVENT_QUIESCE 0x0008 |
@@ -614,11 +614,11 @@ struct dev_pm_domain { | |||
614 | * message is implicit: | 614 | * message is implicit: |
615 | * | 615 | * |
616 | * ON Driver starts working again, responding to hardware events | 616 | * ON Driver starts working again, responding to hardware events |
617 | * and software requests. The hardware may have gone through | 617 | * and software requests. The hardware may have gone through |
618 | * a power-off reset, or it may have maintained state from the | 618 | * a power-off reset, or it may have maintained state from the |
619 | * previous suspend() which the driver will rely on while | 619 | * previous suspend() which the driver will rely on while |
620 | * resuming. On most platforms, there are no restrictions on | 620 | * resuming. On most platforms, there are no restrictions on |
621 | * availability of resources like clocks during resume(). | 621 | * availability of resources like clocks during resume(). |
622 | * | 622 | * |
623 | * Other transitions are triggered by messages sent using suspend(). All | 623 | * Other transitions are triggered by messages sent using suspend(). All |
624 | * these transitions quiesce the driver, so that I/O queues are inactive. | 624 | * these transitions quiesce the driver, so that I/O queues are inactive. |
@@ -628,21 +628,21 @@ struct dev_pm_domain { | |||
628 | * differ according to the message: | 628 | * differ according to the message: |
629 | * | 629 | * |
630 | * SUSPEND Quiesce, enter a low power device state appropriate for | 630 | * SUSPEND Quiesce, enter a low power device state appropriate for |
631 | * the upcoming system state (such as PCI_D3hot), and enable | 631 | * the upcoming system state (such as PCI_D3hot), and enable |
632 | * wakeup events as appropriate. | 632 | * wakeup events as appropriate. |
633 | * | 633 | * |
634 | * HIBERNATE Enter a low power device state appropriate for the hibernation | 634 | * HIBERNATE Enter a low power device state appropriate for the hibernation |
635 | * state (eg. ACPI S4) and enable wakeup events as appropriate. | 635 | * state (eg. ACPI S4) and enable wakeup events as appropriate. |
636 | * | 636 | * |
637 | * FREEZE Quiesce operations so that a consistent image can be saved; | 637 | * FREEZE Quiesce operations so that a consistent image can be saved; |
638 | * but do NOT otherwise enter a low power device state, and do | 638 | * but do NOT otherwise enter a low power device state, and do |
639 | * NOT emit system wakeup events. | 639 | * NOT emit system wakeup events. |
640 | * | 640 | * |
641 | * PRETHAW Quiesce as if for FREEZE; additionally, prepare for restoring | 641 | * PRETHAW Quiesce as if for FREEZE; additionally, prepare for restoring |
642 | * the system from a snapshot taken after an earlier FREEZE. | 642 | * the system from a snapshot taken after an earlier FREEZE. |
643 | * Some drivers will need to reset their hardware state instead | 643 | * Some drivers will need to reset their hardware state instead |
644 | * of preserving it, to ensure that it's never mistaken for the | 644 | * of preserving it, to ensure that it's never mistaken for the |
645 | * state which that earlier snapshot had set up. | 645 | * state which that earlier snapshot had set up. |
646 | * | 646 | * |
647 | * A minimally power-aware driver treats all messages as SUSPEND, fully | 647 | * A minimally power-aware driver treats all messages as SUSPEND, fully |
648 | * reinitializes its device during resume() -- whether or not it was reset | 648 | * reinitializes its device during resume() -- whether or not it was reset |