aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exutils.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-12-30 19:06:16 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-10 06:36:20 -0500
commit7b891693091166123307f6e3023533c8d1d46f99 (patch)
treeea14a134fedd6caf3a6084dea7ee471f79118f19 /drivers/acpi/acpica/exutils.c
parentdb38bf5a57a955975986b514c6bbd7cb324fddc3 (diff)
ACPICA: Eliminate superfluous return_UINT8 and return_UINT32 macros.
These macros were implemented the same as return_VALUE and thus they were not needed. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exutils.c')
-rw-r--r--drivers/acpi/acpica/exutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exutils.c b/drivers/acpi/acpica/exutils.c
index 264d22d8018c..02ddc4ceca37 100644
--- a/drivers/acpi/acpica/exutils.c
+++ b/drivers/acpi/acpica/exutils.c
@@ -336,7 +336,7 @@ static u32 acpi_ex_digits_needed(u64 value, u32 base)
336 /* u64 is unsigned, so we don't worry about a '-' prefix */ 336 /* u64 is unsigned, so we don't worry about a '-' prefix */
337 337
338 if (value == 0) { 338 if (value == 0) {
339 return_UINT32(1); 339 return_VALUE(1);
340 } 340 }
341 341
342 current_value = value; 342 current_value = value;
@@ -350,7 +350,7 @@ static u32 acpi_ex_digits_needed(u64 value, u32 base)
350 num_digits++; 350 num_digits++;
351 } 351 }
352 352
353 return_UINT32(num_digits); 353 return_VALUE(num_digits);
354} 354}
355 355
356/******************************************************************************* 356/*******************************************************************************