openwrt/target/linux/s3c24xx/patches-2.6.24/1045-pm-debug_less_verbose.patch.patch

29 lines
896 B
Diff

From 2ea3a6a1337ce1ad496db7e650ac6301f7be34dd Mon Sep 17 00:00:00 2001
From: mokopatches <mokopatches@openmoko.org>
Date: Sun, 13 Apr 2008 07:23:47 +0100
Subject: [PATCH] pm-debug_less_verbose.patch
---
drivers/base/power/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 691ffb6..86ba4f1 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -40,9 +40,9 @@ int (*platform_enable_wakeup)(struct device *dev, int is_on);
void device_pm_add(struct device *dev)
{
- pr_debug("PM: Adding info for %s:%s\n",
+ /* pr_debug("PM: Adding info for %s:%s\n",
dev->bus ? dev->bus->name : "No Bus",
- kobject_name(&dev->kobj));
+ kobject_name(&dev->kobj)); */
mutex_lock(&dpm_list_mtx);
list_add_tail(&dev->power.entry, &dpm_active);
mutex_unlock(&dpm_list_mtx);
--
1.5.6.5