PM: Drop CONFIG_PM_RUNTIME from the driver core
[linux-drm-fsl-dcu.git] / drivers / base / power / domain_governor.c
index d88a62e104d4e03b55cf778b025e544072d7c701..2a4154a09e4dca0dc9af3aa09f9a395a313f60e8 100644 (file)
@@ -11,8 +11,6 @@
 #include <linux/pm_qos.h>
 #include <linux/hrtimer.h>
 
-#ifdef CONFIG_PM_RUNTIME
-
 static int dev_update_qos_constraint(struct device *dev, void *data)
 {
        s64 *constraint_ns_p = data;
@@ -227,15 +225,6 @@ static bool always_on_power_down_ok(struct dev_pm_domain *domain)
        return false;
 }
 
-#else /* !CONFIG_PM_RUNTIME */
-
-static inline bool default_stop_ok(struct device *dev) { return false; }
-
-#define default_power_down_ok  NULL
-#define always_on_power_down_ok        NULL
-
-#endif /* !CONFIG_PM_RUNTIME */
-
 struct dev_power_governor simple_qos_governor = {
        .stop_ok = default_stop_ok,
        .power_down_ok = default_power_down_ok,