diff options
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 578b99b71d9c..3c3dee844dfc 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c | |||
@@ -524,7 +524,7 @@ EXPORT_SYMBOL_GPL(unregister_hotplug_dock_device); | |||
524 | */ | 524 | */ |
525 | static void dock_notify(acpi_handle handle, u32 event, void *data) | 525 | static void dock_notify(acpi_handle handle, u32 event, void *data) |
526 | { | 526 | { |
527 | struct dock_station *ds = (struct dock_station *)data; | 527 | struct dock_station *ds = data; |
528 | 528 | ||
529 | switch (event) { | 529 | switch (event) { |
530 | case ACPI_NOTIFY_BUS_CHECK: | 530 | case ACPI_NOTIFY_BUS_CHECK: |
@@ -587,7 +587,7 @@ find_dock_devices(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
587 | { | 587 | { |
588 | acpi_status status; | 588 | acpi_status status; |
589 | acpi_handle tmp; | 589 | acpi_handle tmp; |
590 | struct dock_station *ds = (struct dock_station *)context; | 590 | struct dock_station *ds = context; |
591 | struct dock_dependent_device *dd; | 591 | struct dock_dependent_device *dd; |
592 | 592 | ||
593 | status = acpi_bus_get_ejd(handle, &tmp); | 593 | status = acpi_bus_get_ejd(handle, &tmp); |
@@ -702,7 +702,7 @@ static int dock_remove(void) | |||
702 | static acpi_status | 702 | static acpi_status |
703 | find_dock(acpi_handle handle, u32 lvl, void *context, void **rv) | 703 | find_dock(acpi_handle handle, u32 lvl, void *context, void **rv) |
704 | { | 704 | { |
705 | int *count = (int *)context; | 705 | int *count = context; |
706 | acpi_status status = AE_OK; | 706 | acpi_status status = AE_OK; |
707 | 707 | ||
708 | if (is_dock(handle)) { | 708 | if (is_dock(handle)) { |