HID: amd_sfh: Change dev_err to dev_dbg for additional debug info
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Tue, 27 Sep 2022 10:27:25 +0000 (15:57 +0530)
committerJiri Kosina <jkosina@suse.cz>
Fri, 30 Sep 2022 08:31:18 +0000 (10:31 +0200)
commitbeb18bb22cd4fb88648bb2925d56f36131c1ac21
tree674711767b24470e5e65a7a6da213070bacde4e5
parenta1f764268f3390406f4dcbe3d2f537f2424f22ca
HID: amd_sfh: Change dev_err to dev_dbg for additional debug info

Users should only be notified at most one time on systems doesn't have
any sensors connected or non-supported systems.

Check the return code and don't display error messages in those
conditions.

Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.c