projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf2f2f
)
HID: alps: clean up indentation issue
author
Colin Ian King
<colin.king@canonical.com>
Sun, 20 Sep 2020 14:17:16 +0000
(15:17 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 22 Sep 2020 09:19:55 +0000
(11:19 +0200)
There is an if statement that is indented too deeply, fix this by removing the
extraneous tab.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-alps.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-alps.c
b/drivers/hid/hid-alps.c
index
a9c2de9
..
3feaece
100644
(file)
--- a/
drivers/hid/hid-alps.c
+++ b/
drivers/hid/hid-alps.c
@@
-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;
}