Skip to content

Commit ebcfcc3

Browse files
committed
Revert "HID: i2c-hid: improve i2c_hid_get_report error message"
It patch wrong context, and the patch has already patched in commit e3db0d5. This reverts commit af7a173. Link: deepin-community#734 Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent af7a173 commit ebcfcc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/i2c-hid/i2c-hid-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ static int i2c_hid_set_or_send_report(struct i2c_hid *ihid,
389389
error = i2c_hid_xfer(ihid, ihid->cmdbuf, length, NULL, 0);
390390
if (error) {
391391
dev_err(&ihid->client->dev,
392-
"failed to get a report from device: %d\n", error);
392+
"failed to set a report to device: %d\n", error);
393393
return error;
394394
}
395395

0 commit comments

Comments
 (0)