Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd9033eb authored by Nikolai Kondrashov's avatar Nikolai Kondrashov Committed by Jiri Kosina
Browse files

HID: uclogic: fix coding style



Fix minor coding style violations in the hid-uclogic driver.

Signed-off-by: default avatarNikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent f36ee074
Loading
Loading
Loading
Loading
+4 −7
Original line number Original line Diff line number Diff line
@@ -347,22 +347,19 @@ static __u8 *uclogic_report_fixup(struct hid_device *hdev, __u8 *rdesc,
{
{
	switch (hdev->product) {
	switch (hdev->product) {
	case USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U:
	case USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U:
		if (*rsize == WPXXXXU_RDESC_ORIG_SIZE)
		if (*rsize == WPXXXXU_RDESC_ORIG_SIZE) {
		{
			rdesc = wp4030u_rdesc_fixed;
			rdesc = wp4030u_rdesc_fixed;
			*rsize = sizeof(wp4030u_rdesc_fixed);
			*rsize = sizeof(wp4030u_rdesc_fixed);
		}
		}
		break;
		break;
	case USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U:
	case USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U:
		if (*rsize == WPXXXXU_RDESC_ORIG_SIZE)
		if (*rsize == WPXXXXU_RDESC_ORIG_SIZE) {
		{
			rdesc = wp5540u_rdesc_fixed;
			rdesc = wp5540u_rdesc_fixed;
			*rsize = sizeof(wp5540u_rdesc_fixed);
			*rsize = sizeof(wp5540u_rdesc_fixed);
		}
		}
		break;
		break;
	case USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U:
	case USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U:
		if (*rsize == WPXXXXU_RDESC_ORIG_SIZE)
		if (*rsize == WPXXXXU_RDESC_ORIG_SIZE) {
		{
			rdesc = wp8060u_rdesc_fixed;
			rdesc = wp8060u_rdesc_fixed;
			*rsize = sizeof(wp8060u_rdesc_fixed);
			*rsize = sizeof(wp8060u_rdesc_fixed);
		}
		}