Commit 47a5dba1 authored by Olaf Hering's avatar Olaf Hering Committed by Jean Delvare

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: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarMichael Hanselmann <linux-kernel@hansmi.ch>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 63232dcd
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment