It is not an error if a system has no ams hardware. Do not clutter dmesg in this case.
Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> --- 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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/