• Nishanth Menon's avatar
    PM / devfreq: provide hooks for governors to be registered · 3aa173b8
    Nishanth Menon authored
    Add devfreq_add_governor and devfreq_remove_governor which
    can be invoked by governors to register with devfreq.
    This sets up the stage to dynamically switch governors and
    allow governors to be dynamically loaded as well.
    Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org>
    Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
    Cc: Kyungmin Park <kyungmin.park@samsung.com>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: linux-pm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarNishanth Menon <nm@ti.com>
    Acked-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
governor.h 1.32 KB