[PATCH] fix inconsistent indentation

From: F.A.Sulaiman
Date: Thu Aug 26 2021 - 06:06:56 EST


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

Signed-off-by: F.A. SULAIMAN <asha.16@xxxxxxxxxxxxxxx>
---
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