mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]>
This commit is contained in:
parent
63232dcd55
commit
47a5dba1dc
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue