Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323477
b: refs/heads/master
c: 751e5ed
h: refs/heads/master
i:
  323475: 487c87c
v: v3
  • Loading branch information
Axel Lin authored and Jiri Kosina committed Sep 7, 2012
1 parent 60d5e0f commit 10827c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f4fa6afd31c1002c7cbd13d33dcc6e9d3bef10e
refs/heads/master: 751e5ed350ac3f8dff9fd63ce01405da9472a034
29 changes: 0 additions & 29 deletions trunk/drivers/hid/hid-waltop.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,28 +638,6 @@ static __u8 sirius_battery_free_tablet_rdesc_fixed[] = {
0xC0 /* End Collection */
};

static int waltop_probe(struct hid_device *hdev,
const struct hid_device_id *id)
{
int ret;

ret = hid_parse(hdev);
if (ret) {
hid_err(hdev, "parse failed\n");
goto err;
}

ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
if (ret) {
hid_err(hdev, "hw start failed\n");
goto err;
}

return 0;
err:
return ret;
}

static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
Expand Down Expand Up @@ -776,11 +754,6 @@ static int waltop_raw_event(struct hid_device *hdev, struct hid_report *report,
return 0;
}

static void waltop_remove(struct hid_device *hdev)
{
hid_hw_stop(hdev);
}

static const struct hid_device_id waltop_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP,
USB_DEVICE_ID_WALTOP_SLIM_TABLET_5_8_INCH) },
Expand All @@ -803,10 +776,8 @@ MODULE_DEVICE_TABLE(hid, waltop_devices);
static struct hid_driver waltop_driver = {
.name = "waltop",
.id_table = waltop_devices,
.probe = waltop_probe,
.report_fixup = waltop_report_fixup,
.raw_event = waltop_raw_event,
.remove = waltop_remove,
};

static int __init waltop_init(void)
Expand Down

0 comments on commit 10827c2

Please sign in to comment.