aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/dock.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r--drivers/acpi/dock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index 54ce12ab43d7..90990a4b6526 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -565,7 +565,7 @@ static int handle_eject_request(struct dock_station *ds, u32 event)
565 */ 565 */
566static void dock_notify(acpi_handle handle, u32 event, void *data) 566static void dock_notify(acpi_handle handle, u32 event, void *data)
567{ 567{
568 struct dock_station *ds = (struct dock_station *)data; 568 struct dock_station *ds = data;
569 569
570 switch (event) { 570 switch (event) {
571 case ACPI_NOTIFY_BUS_CHECK: 571 case ACPI_NOTIFY_BUS_CHECK:
@@ -616,7 +616,7 @@ find_dock_devices(acpi_handle handle, u32 lvl, void *context, void **rv)
616{ 616{
617 acpi_status status; 617 acpi_status status;
618 acpi_handle tmp; 618 acpi_handle tmp;
619 struct dock_station *ds = (struct dock_station *)context; 619 struct dock_station *ds = context;
620 struct dock_dependent_device *dd; 620 struct dock_dependent_device *dd;
621 621
622 status = acpi_bus_get_ejd(handle, &tmp); 622 status = acpi_bus_get_ejd(handle, &tmp);
@@ -792,7 +792,7 @@ static int dock_remove(void)
792static acpi_status 792static acpi_status
793find_dock(acpi_handle handle, u32 lvl, void *context, void **rv) 793find_dock(acpi_handle handle, u32 lvl, void *context, void **rv)
794{ 794{
795 int *count = (int *)context; 795 int *count = context;
796 acpi_status status = AE_OK; 796 acpi_status status = AE_OK;
797 797
798 if (is_dock(handle)) { 798 if (is_dock(handle)) {