diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-14 17:17:21 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-14 17:17:21 -0500 |
commit | 3a83f992490f8235661b768e53bd5f14915420ac (patch) | |
tree | 6394984f7c2cb0346966681b963bbaab5de14c9d /drivers/pci/pci-label.c | |
parent | 7b1998116bbb2f3e5dd6cb9a8ee6db479b0b50a9 (diff) |
ACPI: Eliminate the DEVICE_ACPI_HANDLE() macro
Since DEVICE_ACPI_HANDLE() is now literally identical to
ACPI_HANDLE(), replace it with the latter everywhere and drop its
definition from include/acpi.h.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/pci-label.c')
-rw-r--r-- | drivers/pci/pci-label.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index edaed6f4da6c..d51f45aa669e 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c | |||
@@ -263,7 +263,7 @@ device_has_dsm(struct device *dev) | |||
263 | acpi_handle handle; | 263 | acpi_handle handle; |
264 | struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL}; | 264 | struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL}; |
265 | 265 | ||
266 | handle = DEVICE_ACPI_HANDLE(dev); | 266 | handle = ACPI_HANDLE(dev); |
267 | 267 | ||
268 | if (!handle) | 268 | if (!handle) |
269 | return FALSE; | 269 | return FALSE; |
@@ -295,7 +295,7 @@ acpilabel_show(struct device *dev, struct device_attribute *attr, char *buf) | |||
295 | acpi_handle handle; | 295 | acpi_handle handle; |
296 | int length; | 296 | int length; |
297 | 297 | ||
298 | handle = DEVICE_ACPI_HANDLE(dev); | 298 | handle = ACPI_HANDLE(dev); |
299 | 299 | ||
300 | if (!handle) | 300 | if (!handle) |
301 | return -1; | 301 | return -1; |
@@ -316,7 +316,7 @@ acpiindex_show(struct device *dev, struct device_attribute *attr, char *buf) | |||
316 | acpi_handle handle; | 316 | acpi_handle handle; |
317 | int length; | 317 | int length; |
318 | 318 | ||
319 | handle = DEVICE_ACPI_HANDLE(dev); | 319 | handle = ACPI_HANDLE(dev); |
320 | 320 | ||
321 | if (!handle) | 321 | if (!handle) |
322 | return -1; | 322 | return -1; |