Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
}