diff options
| -rw-r--r-- | drivers/staging/unisys/visorbus/visorbus_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index aea1aa262b28..55f29ae8e015 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c | |||
| @@ -623,9 +623,7 @@ create_visor_device(struct visor_device *dev) | |||
| 623 | dev->device.release = visorbus_release_device; | 623 | dev->device.release = visorbus_release_device; |
| 624 | /* keep a reference just for us (now 2) */ | 624 | /* keep a reference just for us (now 2) */ |
| 625 | get_device(&dev->device); | 625 | get_device(&dev->device); |
| 626 | init_timer(&dev->timer); | 626 | setup_timer(&dev->timer, dev_periodic_work, (unsigned long)dev); |
| 627 | dev->timer.data = (unsigned long)(dev); | ||
| 628 | dev->timer.function = dev_periodic_work; | ||
| 629 | 627 | ||
| 630 | /* | 628 | /* |
| 631 | * bus_id must be a unique name with respect to this bus TYPE | 629 | * bus_id must be a unique name with respect to this bus TYPE |
