summaryrefslogtreecommitdiff
path: root/net/batman-adv/send.h
diff options
context:
space:
mode:
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>2015-02-18 06:34:17 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-18 06:34:17 +0100
commit92c83ff5b42b109c94fdeee53cb31f674f776d75 (patch)
treee8ca5ef30cc1bd687496139d9905452798dde8c8 /net/batman-adv/send.h
parent5177a94aea6fbffc897aaee29c7cde57f951b541 (diff)
cpuidle: powernv: Read target_residency value of idle states from DT if available
The device tree now exposes the residency values for different idle states. Read these values instead of calculating residency from the latency values. The values exposed in the DT are validated for optimal power efficiency. However to maintain compatibility with the older firmware code which does not expose residency values, use default values as a fallback mechanism. While at it, use better APIs to parse the powermgmt device tree node. Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/batman-adv/send.h')
0 files changed, 0 insertions, 0 deletions