Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350971
b: refs/heads/master
c: 02df734
h: refs/heads/master
i:
  350969: 5ffdbc0
  350967: b02cf81
v: v3
  • Loading branch information
Yasuaki Ishimatsu authored and Rafael J. Wysocki committed Feb 2, 2013
1 parent 1199b84 commit b486b0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 456de893ea1a693dc266c5464a6d857bfed0875f
refs/heads/master: 02df7349d29f99ede4c97504ab67e3082c95c15e
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/dock.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ static ssize_t show_docked(struct device *dev,

struct dock_station *dock_station = dev->platform_data;

if (ACPI_SUCCESS(acpi_bus_get_device(dock_station->handle, &tmp)))
if (!acpi_bus_get_device(dock_station->handle, &tmp))
return snprintf(buf, PAGE_SIZE, "1\n");
return snprintf(buf, PAGE_SIZE, "0\n");
}
Expand Down

0 comments on commit b486b0a

Please sign in to comment.