summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-monterey.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-monterey.c')
-rw-r--r--drivers/hid/hid-monterey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-monterey.c b/drivers/hid/hid-monterey.c
index c95c31e..dedf757 100644
--- a/drivers/hid/hid-monterey.c
+++ b/drivers/hid/hid-monterey.c
@@ -26,8 +26,7 @@ static __u8 *mr_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 30 && rdesc[29] == 0x05 && rdesc[30] == 0x09) {
- dev_info(&hdev->dev, "fixing up button/consumer in HID report "
- "descriptor\n");
+ hid_info(hdev, "fixing up button/consumer in HID report descriptor\n");
rdesc[30] = 0x0c;
}
return rdesc;
OpenPOWER on IntegriCloud