diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2011-09-30 22:35:12 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-09-30 22:35:12 +0200 |
commit | 03ca370fbf7b76d6d002380dbdc2cdc2319f9c80 (patch) | |
tree | d6978f3139f109755e0b2966995527a44c2e4681 /drivers/devfreq/devfreq.c | |
parent | a102a9ece5489e1718cd7543aa079082450ac3a2 (diff) |
PM / OPP: Add OPP availability change notifier.
The patch enables to register notifier_block for an OPP-device in order
to get notified for any changes in the availability of OPPs of the
device. For example, if a new OPP is inserted or enable/disable status
of an OPP is changed, the notifier is executed.
This enables the usage of opp_add, opp_enable, and opp_disable to
directly take effect with any connected entities such as cpufreq or
devfreq.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mike Turquette <mturquette@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/devfreq/devfreq.c')
0 files changed, 0 insertions, 0 deletions