summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent63232dcd555d60d70ce8e09b53c8ef8e4a49a3f9 (diff)
downloadop-kernel-dev-47a5dba1dca723d890d0b9409c82e72311a1f641.zip
op-kernel-dev-47a5dba1dca723d890d0b9409c82e72311a1f641.tar.gz
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')
-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;
}
OpenPOWER on IntegriCloud