Re: [PATCH] HID: i2c-hid: improve i2c_hid_get_report error message
From: Jiri Kosina
Date: Tue Mar 04 2025 - 15:26:50 EST
On Fri, 14 Feb 2025, Wentao Guan wrote:
> We have two places to print "failed to set a report to ...",
> use "get a report from" instead of "set a report to", it makes
> people who knows less about the module to know where the error
> happened.
>
> Before:
> i2c_hid_acpi i2c-FTSC1000:00: failed to set a report to device: -11
>
> After:
> i2c_hid_acpi i2c-FTSC1000:00: failed to get a report from device: -11
>
> Signed-off-by: Wentao Guan <guanwentao@xxxxxxxxxxxxx>
Applied, thanks.
--
Jiri Kosina
SUSE Labs