projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpufreq: longhaul: Replace acpi_bus_get_device()
[linux-2.6-microblaze.git]
/
drivers
/
cpufreq
/
longhaul.c
diff --git
a/drivers/cpufreq/longhaul.c
b/drivers/cpufreq/longhaul.c
index
c538a15
..
3e000e1
100644
(file)
--- a/
drivers/cpufreq/longhaul.c
+++ b/
drivers/cpufreq/longhaul.c
@@
-668,9
+668,9
@@
static acpi_status longhaul_walk_callback(acpi_handle obj_handle,
u32 nesting_level,
void *context, void **return_value)
{
- struct acpi_device *d;
+ struct acpi_device *d
= acpi_fetch_acpi_dev(obj_handle)
;
- if (
acpi_bus_get_device(obj_handle, &d)
)
+ if (
!d
)
return 0;
*return_value = acpi_driver_data(d);