* [PATCH] do not print error on systems without apple motion sensor
@ 2007-04-13 16:14 Olaf Hering
0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2007-04-13 16:14 UTC (permalink / raw)
To: Andrew Morton, linux-kernel
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@aepfle.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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-13 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-13 16:14 [PATCH] do not print error on systems without apple motion sensor Olaf Hering
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.