[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070413161441.GA9816@aepfle.de>
Date: Fri, 13 Apr 2007 18:14:41 +0200
From: Olaf Hering <olaf@...fle.de>
To: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] do not print error on systems without apple motion sensor
It is not an error if a system has no ams hardware.
Do not clutter dmesg in this case.
Signed-off-by: Olaf Hering <olaf@...fle.de>
---
drivers/hwmon/ams/ams-core.c | 3 ---
1 file changed, 3 deletions(-)
Index: b/drivers/hwmon/ams/ams-core.c
===================================================================
--- a/drivers/hwmon/ams/ams-core.c
+++ b/drivers/hwmon/ams/ams-core.c
@@ -219,9 +219,6 @@ int __init ams_init(void)
/* Found PMU motion sensor */
return ams_pmu_init(np);
#endif
-
- printk(KERN_ERR "ams: No motion sensor found.\n");
-
return -ENODEV;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists