aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ams
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2007-05-08 17:22:02 +0200
committerJean Delvare <khali@hyperion.delvare>2007-05-08 17:22:02 +0200
commit47a5dba1dca723d890d0b9409c82e72311a1f641 (patch)
tree1072cbe63538084d10285fbd0edd6dbafd87aeb2 /drivers/hwmon/ams
parent63232dcd555d60d70ce8e09b53c8ef8e4a49a3f9 (diff)
downloadkernel_samsung_tuna-47a5dba1dca723d890d0b9409c82e72311a1f641.zip
kernel_samsung_tuna-47a5dba1dca723d890d0b9409c82e72311a1f641.tar.gz
kernel_samsung_tuna-47a5dba1dca723d890d0b9409c82e72311a1f641.tar.bz2
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/ams')
-rw-r--r--drivers/hwmon/ams/ams-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwmon/ams/ams-core.c b/drivers/hwmon/ams/ams-core.c
index f5ebad5..e0098a3 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;
}