From 47a5dba1dca723d890d0b9409c82e72311a1f641 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 8 May 2007 17:22:02 +0200 Subject: 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 Signed-off-by: Andrew Morton Acked-by: Michael Hanselmann Signed-off-by: Jean Delvare --- drivers/hwmon/ams/ams-core.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/hwmon') diff --git a/drivers/hwmon/ams/ams-core.c b/drivers/hwmon/ams/ams-core.c index f5ebad56141..e0098a3fae5 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; } -- cgit v1.2.3-70-g09d2