cpufreq: Introduce cpufreq_notify_post_transition()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 Dec 2013 05:34:12 +0000 (11:04 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 00:43:44 +0000 (01:43 +0100)
commitf7ba3b41e27129575201f0f9656e83fb67e86c3b
tree3d7499edac72668560510c7345785e222da8b3d0
parent26ab1c62b6e1ed4720d533320d646866027ade09
cpufreq: Introduce cpufreq_notify_post_transition()

This introduces a new routine cpufreq_notify_post_transition() which
can be used to send POSTCHANGE notification for new freq with or
without both {PRE|POST}CHANGE notifications for last freq. This is
useful at multiple places, especially for sending transition failure
notifications.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h