From 0678072755b6672b19ee0fd42748a003912fca09 Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Thu, 17 Sep 2015 17:02:22 +0200 Subject: [PATCH] HID: Make I2C a known bus in hid_connect() Just to prettify the log message. Otherwise it would be . Signed-off-by: Daniel Martin Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- drivers/hid/hid-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 31fc6427cac3..71a1286c4c35 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1678,6 +1678,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask) case BUS_BLUETOOTH: bus = "BLUETOOTH"; break; + case BUS_I2C: + bus = "I2C"; + break; default: bus = ""; } -- 2.39.2