diff options
author | Olaf Hering <olaf@aepfle.de> | 2007-05-08 17:22:02 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-05-08 17:22:02 +0200 |
commit | 47a5dba1dca723d890d0b9409c82e72311a1f641 (patch) | |
tree | 1072cbe63538084d10285fbd0edd6dbafd87aeb2 /drivers/hwmon | |
parent | 63232dcd555d60d70ce8e09b53c8ef8e4a49a3f9 (diff) |
hwmon/ams: 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@aepfle.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/ams/ams-core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwmon/ams/ams-core.c b/drivers/hwmon/ams/ams-core.c index f5ebad561412..e0098a3fae5d 100644 --- 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; } |