PM / runtime: Update documentation to reflect the current code flow

The runtime PM documentation in runtime_pm.txt has not been updated
after some changes to the system suspend and resume core code, so
update it to reflect the current code flow.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Merge branch 'acpi-video' into linux-next

* acpi-video:
  ACPI / video: Revert native brightness quirk for ThinkPad T530
PM / OPP: fix incorrect OPP count handling in of_init_opp_table

In of_init_opp_table function, if a failure to add an OPP is
detected, the count of OPPs, yet to be added is not updated.
Fix this by decrementing this count on failure as well.

Signed-off-by: Chander Kashyap <k.chander@samsung.com>
Signed-off-by: Inderpal Singh <inderpal.s@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 3.7+ <stable@vger.kernel.org> # 3.7+
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
PM / OPP: Make OPP invisible to users in Kconfig

The OPP code is an in kernel library selected by its users, there is no
no architecture code required to implement it and enabling it without a
user just increases the kernel size. Since the users select rather than
depend on it just remove the ability to directly set the option from
Kconfig.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Merge branch 'acpi-pm' into linux-next

* acpi-pm:
  ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state
Merge branch 'pm-cpuidle' into linux-next

* pm-cpuidle:
  ARM: clps711x: Add cpuidle driver
Merge branch 'pm-runtime' into linux-next

* pm-runtime:
  PM / runtime: Update documentation to reflect the current code flow
Merge branch 'acpica-next' into linux-next

* acpica-next:
  ACPICA: Clean up redudant definitions already defined elsewhere
  ACPICA: Linux headers: Add <asm/acenv.h> to remove mis-ordered inclusion of <asm/acpi.h>
  ACPICA: Linux headers: Add <acpi/platform/aclinuxex.h>
  ACPICA: Linux headers: Remove ACPI_PREEMPTION_POINT() due to no usages.
Merge branch 'acpi-battery' into linux-next

* acpi-battery:
  ACPI / battery: Accelerate battery resume callback
Merge branch 'acpi-platform' into linux-next

* acpi-platform:
  ACPI / platform: add IDs for Broadcom Bluetooth and GPS chips
Merge branch 'acpi-video-next' into linux-next

* acpi-video-next:
  ACPI / video: Don't register acpi_video_resume notifier without backlight devices
Merge branch 'pm-sleep' into linux-next

* pm-sleep:
  ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend
  PM / sleep: Update device PM documentation to cover direct_complete
  PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily
  PM / hibernate: Fix memory corruption in resumedelay_setup()
Merge branch 'pm-tools' into linux-next

* pm-tools:
  cpupower: Remove mc and smt power aware scheduler info/settings
  cpupower: cpupower info -b should return 0 on success, not the perf bias value
  cpupower: If root, try to load msr driver on x86 if /dev/cpu/0/msr is not available
  cpupower: Install recently added cpupower-idle-{set, info} manpages
  cpupower: Introduce idle state disable-by-latency and enable-all
  cpupower: Remove all manpages on make uninstall
  cpupower: Remove dead link to homepage, and update the targets built.
  cpupower: Rename cpufrequtils -> cpupower, and libcpufreq -> libcpupower.
Merge branch 'pm-cpufreq-next' into linux-next

* pm-cpufreq-next:
  cpufreq: Tegra: drop wrapper around tegra_update_cpu_speed()
  cpufreq: imx6q: Remove unused include
  cpufreq: imx6q: Drop devm_clk/regulator_get usage
  cpufreq: powernow-k8: Suppress checkpatch warnings
  cpufreq: powernv: make local function static
  cpufreq: Enable big.LITTLE cpufreq driver on arm64
  cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro
Merge branch 'acpi-tables' into linux-next

* acpi-tables:
  ACPI: Fix conflict between customized DSDT and DSDT local copy
Merge branch 'pm-opp' into linux-next

* pm-opp:
  PM / OPP: Make OPP invisible to users in Kconfig
  PM / OPP: fix incorrect OPP count handling in of_init_opp_table
Merge branch 'acpi-processor-next' into linux-next

* acpi-processor-next:
  ACPI / processor: Fix STARTING/DYING action in acpi_cpu_soft_notify()
  ACPI / processor: Check if LAPIC is present during initialization
  ACPI / ia64: introduce variable acpi_lapic into ia64