diff options
author | Len Brown <len.brown@intel.com> | 2006-12-16 01:04:27 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-16 01:04:27 -0500 |
commit | cece901481bafbf14de8cbd3a89ae869ea881055 (patch) | |
tree | f9e240443643008c8feeaf55919105dc63ab8c72 /drivers/acpi/dock.c | |
parent | cfee47f99bc14a6d7c6b0be2284db2cef310a815 (diff) | |
parent | 50dd096973f1d95aa03c6a6d9e148d706b62b68e (diff) |
Pull style into test branch
Conflicts:
drivers/acpi/button.c
drivers/acpi/ec.c
drivers/acpi/osl.c
drivers/acpi/sbs.c
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 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 | */ |
566 | static void dock_notify(acpi_handle handle, u32 event, void *data) | 566 | static 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) | |||
792 | static acpi_status | 792 | static acpi_status |
793 | find_dock(acpi_handle handle, u32 lvl, void *context, void **rv) | 793 | find_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)) { |