diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 00:32:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 00:32:50 -0400 |
commit | e82ca04387dd6c98722f5f48235089839fd04268 (patch) | |
tree | 8fb4b0435e57c7dab70dfd4cc71b4cd35686126d /drivers/acpi/glue.c | |
parent | 075395d228641646159dae3dd170fa3fc6ff477a (diff) | |
parent | 309b0f125a22ee34c8f6962677255f7bf6af5e3d (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (44 commits)
ACPI: remove function tracing macros from drivers/acpi/*.c
ACPI: add support for Smart Battery
ACPI: handle battery notify event on broken BIOS
ACPI: handle AC notify event on broken BIOS
ACPI: asus_acpi: add S1N WLED control
ACPI: asus_acpi: correct M6N/M6R display nodes
ACPI: asus_acpi: add S1N WLED control
ACPI: asus_acpi: rework model detection
ACPI: asus_acpi: support L5D
ACPI: asus_acpi: handle internal Bluetooth / support W5A
ACPI: asus_acpi: support A4G
ACPI: asus_acpi: support W3400N
ACPI: asus_acpi: LED display support
ACPI: asus_acpi: support A3G
ACPI: asus_acpi: misc cleanups
ACPI: video: Remove unneeded acpi_handle from driver.
ACPI: thermal: Remove unneeded acpi_handle from driver.
ACPI: power: Remove unneeded acpi_handle from driver.
ACPI: pci_root: Remove unneeded acpi_handle from driver.
ACPI: pci_link: Remove unneeded acpi_handle from driver.
...
Diffstat (limited to 'drivers/acpi/glue.c')
-rw-r--r-- | drivers/acpi/glue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c index 8daef57b994c..10f160dc75b1 100644 --- a/drivers/acpi/glue.c +++ b/drivers/acpi/glue.c | |||
@@ -152,7 +152,7 @@ static int get_root_bridge_busnr(acpi_handle handle) | |||
152 | bbn = bus; | 152 | bbn = bus; |
153 | } | 153 | } |
154 | exit: | 154 | exit: |
155 | acpi_os_free(buffer.pointer); | 155 | kfree(buffer.pointer); |
156 | return (int)bbn; | 156 | return (int)bbn; |
157 | } | 157 | } |
158 | 158 | ||
@@ -192,7 +192,7 @@ find_pci_rootbridge(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
192 | find->handle = handle; | 192 | find->handle = handle; |
193 | status = AE_OK; | 193 | status = AE_OK; |
194 | exit: | 194 | exit: |
195 | acpi_os_free(buffer.pointer); | 195 | kfree(buffer.pointer); |
196 | return status; | 196 | return status; |
197 | } | 197 | } |
198 | 198 | ||
@@ -224,7 +224,7 @@ do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
224 | info = buffer.pointer; | 224 | info = buffer.pointer; |
225 | if (info->address == find->address) | 225 | if (info->address == find->address) |
226 | find->handle = handle; | 226 | find->handle = handle; |
227 | acpi_os_free(buffer.pointer); | 227 | kfree(buffer.pointer); |
228 | } | 228 | } |
229 | return AE_OK; | 229 | return AE_OK; |
230 | } | 230 | } |
@@ -330,7 +330,7 @@ static int acpi_platform_notify(struct device *dev) | |||
330 | 330 | ||
331 | acpi_get_name(dev->firmware_data, ACPI_FULL_PATHNAME, &buffer); | 331 | acpi_get_name(dev->firmware_data, ACPI_FULL_PATHNAME, &buffer); |
332 | DBG("Device %s -> %s\n", dev->bus_id, (char *)buffer.pointer); | 332 | DBG("Device %s -> %s\n", dev->bus_id, (char *)buffer.pointer); |
333 | acpi_os_free(buffer.pointer); | 333 | kfree(buffer.pointer); |
334 | } else | 334 | } else |
335 | DBG("Device %s -> No ACPI support\n", dev->bus_id); | 335 | DBG("Device %s -> No ACPI support\n", dev->bus_id); |
336 | #endif | 336 | #endif |