Commit:     47a5dba1dca723d890d0b9409c82e72311a1f641
Parent:     63232dcd555d60d70ce8e09b53c8ef8e4a49a3f9
Author:     Olaf Hering <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 17:22:02 2007 +0200
Committer:  Jean Delvare <[EMAIL PROTECTED]>
CommitDate: Tue May 8 17:22:02 2007 +0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Acked-by: Michael Hanselmann <[EMAIL PROTECTED]>
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
 drivers/hwmon/ams/ams-core.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/hwmon/ams/ams-core.c b/drivers/hwmon/ams/ams-core.c
index f5ebad5..e0098a3 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);
-       printk(KERN_ERR "ams: No motion sensor found.\n");
        return -ENODEV;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to