Message ID | 20230416073844.43093-1-yejunyan@hust.edu.cn |
---|---|
State | New |
Headers | show |
Series | hid: hid-core: Adjust indentation in hid_add_device | expand |
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 22623eb4f72f..80fc2eed6383 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2747,10 +2747,10 @@ int hid_add_device(struct hid_device *hdev) /* * Check for the mandatory transport channel. */ - if (!hdev->ll_driver->raw_request) { + if (!hdev->ll_driver->raw_request) { hid_err(hdev, "transport driver missing .raw_request()\n"); return -EINVAL; - } + } /* * Read the device report descriptor once and use as template