HID: alps: clean up indentation issue
Subsystems (2)
PATCH 1/1 HID: alps: clean up indentation issue
From: Colin Ian King <[email protected]>
There is an if statement that is indented too deeply, fix this by removing the extraneous tab.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/hid/hid-alps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-alps.c +1 -1
@@ -526,7 +526,7 @@ static int u1_init(struct hid_device *hdev, struct alps_dev *pri_data) ret =u1_read_write_register (hdev,ADDRESS_U1_NUM_SENS_Y , &sen_line_num_y,0 , true); -if (ret <0 ) { +if (ret <0 ) {dev_err (&hdev->dev,"failed U1_NUM_SENS_Y (%d)\n" , ret); goto exit; }
Signature · 1 line
2.27.0
Jiri Kosina
maintainerQuoted 15 lines · Colin King
From: Colin Ian King <[email protected]>
There is an if statement that is indented too deeply, fix this by removing the extraneous tab.
Signed-off-by Colin Ian King <[email protected]>--- drivers/hid/hid-alps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hid/hid-alps.c +0
-0
drivers/hid/hid-alps.c static int u1_init(struct hid_device *hdev, struct alps_dev *pri_data) · line 530
Quoted 6 lines
drivers/hid/hid-alps.c +1
-1@@ -526,7 +526,7 @@ static int u1_init(struct hid_device *hdev, struct alps_dev *pri_data) ret =u1_read_write_register (hdev,ADDRESS_U1_NUM_SENS_Y , &sen_line_num_y,0 , true); -if (ret <0 ) { +if (ret <0 ) {dev_err (&hdev->dev,"failed U1_NUM_SENS_Y (%d)\n" , ret);
I am usually not taking whitespace fixes, but this one actually really does improve code readability, so I am taking this one. Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs