Skip to content

Commit

Permalink
hwmon/ams: Do not print error on systems without apple motion sensor
Browse files Browse the repository at this point in the history
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@aepfle.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Olaf Hering authored and Jean Delvare committed May 8, 2007
1 parent 63232dc commit 47a5dba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/hwmon/ams/ams-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 47a5dba

Please sign in to comment.