HID: i2c-hid: Move i2c_hid_acpi_pdata error reporting to inside the function

Log an error in all error paths of i2c_hid_acpi_pdata() instead of having
the caller log a generic error.

This is a preparation patch for allowing i2c_hid_acpi_pdata() to fail
silently under certain conditions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Hans de Goede 2018-04-03 15:16:33 +02:00 • committed by Jiri Kosina
commit 67767a5f7c