diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2006-09-30 18:28:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 01:51:07 -0400 |
commit | 50dd096973f1d95aa03c6a6d9e148d706b62b68e (patch) | |
tree | 1f047b9c574672c133559922af5d4aee2816b9ae /drivers/acpi/dock.c | |
parent | b4bd8c66435a8cdf8c90334fb3b517a23ff2ab95 (diff) |
ACPI: Remove unnecessary from/to-void* and to-void casts in drivers/acpi
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Len Brown <len.brown@intel.com>
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)) { |