Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268674
b: refs/heads/master
c: 929ad79
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Oct 4, 2011
1 parent 97903e7 commit d5b9cd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 6e56f27c09ec695fd0091476772e38fe9ccaa5a9
refs/heads/master: 929ad795f0a8d3419ea19c76d7c13ebb96c49286
9 changes: 2 additions & 7 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,12 +513,10 @@ static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len)
input_device->hid_device = hid_dev;
}

static int mousevsc_on_device_add(struct hv_device *device,
void *additional_info)
static int mousevsc_on_device_add(struct hv_device *device)
{
int ret = 0;
struct mousevsc_dev *input_dev;
struct hv_driver *input_drv;

input_dev = alloc_input_device(device);

Expand Down Expand Up @@ -551,9 +549,6 @@ static int mousevsc_on_device_add(struct hv_device *device,
return ret;
}

input_drv = drv_to_hv_drv(input_dev->device->device.driver);



/* Send the report desc back up */
/* workaround SA-167 */
Expand All @@ -573,7 +568,7 @@ static int mousevsc_probe(struct hv_device *dev,
{

/* Call to the vsc driver to add the device */
return mousevsc_on_device_add(dev, NULL);
return mousevsc_on_device_add(dev);

}

Expand Down

0 comments on commit d5b9cd2

Please sign in to comment.