Skip to content

Commit c047440

Browse files
Chen NiJiri Kosina
authored andcommitted
HID: hid-lenovo-go-s: Remove unneeded semicolon
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent 168c918 commit c047440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/hid-lenovo-go-s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ static void hid_gos_brightness_set(struct led_classdev *led_cdev,
10971097
default:
10981098
dev_err(led_cdev->dev, "Failed to write RGB profile: %i\n",
10991099
ret);
1100-
};
1100+
}
11011101
}
11021102

11031103
#define LEGOS_DEVICE_ATTR_RW(_name, _attrname, _rtype, _group) \

0 commit comments

Comments
 (0)