# \[PATCH\] fix inconsistent indentation

- From: F.A.Sulaiman \<hidden\>
- Date: 2021-08-26 10:06:56 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/08/1489478
- Thread: https://ratatoskr.run/linux-input/2021/08/1489478/t.md

```text
This patch fix the inconsistent indentation
warning in hid_add_device().

Signed-off-by: F.A. SULAIMAN <redacted> 
---
 drivers/hid/hid-core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index dbed2524fd47..76781f940186 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2401,10 +2401,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
-- 
2.17.1

```
