+ ams-driver-do-not-print-error-on-systems-without-apple-motion-sensor.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     ams driver: do not print error on systems without apple motion sensor
has been added to the -mm tree.  Its filename is
     ams-driver-do-not-print-error-on-systems-without-apple-motion-sensor.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ams driver: do not print error on systems without apple motion sensor
From: Olaf Hering <olaf@xxxxxxxxx>

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@xxxxxxxxx>
Cc: Nicolas Boichat <nicolas@xxxxxxxxxx>
Cc: Jean Delvare <khali@xxxxxxxxxxxx>
Cc: Stelian Pop <stelian@xxxxxxxxxx>
Cc: Michael Hanselmann <linux-kernel@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/hwmon/ams/ams-core.c |    3 ---
 1 file changed, 3 deletions(-)

diff -puN drivers/hwmon/ams/ams-core.c~ams-driver-do-not-print-error-on-systems-without-apple-motion-sensor drivers/hwmon/ams/ams-core.c
--- a/drivers/hwmon/ams/ams-core.c~ams-driver-do-not-print-error-on-systems-without-apple-motion-sensor
+++ a/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;
 }
 
_

Patches currently in -mm which might be from olaf@xxxxxxxxx are

git-powerpc.patch
ams-driver-do-not-print-error-on-systems-without-apple-motion-sensor.patch
git-kbuild.patch
cleanup-variable-usage-in-mesh-interrupt-handler.patch
keep-track-of-network-interface-renaming.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux