diff options
Diffstat (limited to 'drivers/acpi/acpica/nsutils.c')
-rw-r--r-- | drivers/acpi/acpica/nsutils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/nsutils.c b/drivers/acpi/acpica/nsutils.c index 479aad0dbf41..7e8bd2af806d 100644 --- a/drivers/acpi/acpica/nsutils.c +++ b/drivers/acpi/acpica/nsutils.c | |||
@@ -111,7 +111,7 @@ acpi_ns_print_node_pathname(struct acpi_namespace_node *node, | |||
111 | u8 acpi_ns_valid_root_prefix(char prefix) | 111 | u8 acpi_ns_valid_root_prefix(char prefix) |
112 | { | 112 | { |
113 | 113 | ||
114 | return ((u8) (prefix == '\\')); | 114 | return ((u8)(prefix == '\\')); |
115 | } | 115 | } |
116 | 116 | ||
117 | /******************************************************************************* | 117 | /******************************************************************************* |
@@ -129,7 +129,7 @@ u8 acpi_ns_valid_root_prefix(char prefix) | |||
129 | static u8 acpi_ns_valid_path_separator(char sep) | 129 | static u8 acpi_ns_valid_path_separator(char sep) |
130 | { | 130 | { |
131 | 131 | ||
132 | return ((u8) (sep == '.')); | 132 | return ((u8)(sep == '.')); |
133 | } | 133 | } |
134 | 134 | ||
135 | /******************************************************************************* | 135 | /******************************************************************************* |
@@ -673,7 +673,7 @@ u32 acpi_ns_opens_scope(acpi_object_type type) | |||
673 | return_UINT32(ACPI_NS_NORMAL); | 673 | return_UINT32(ACPI_NS_NORMAL); |
674 | } | 674 | } |
675 | 675 | ||
676 | return_UINT32(((u32) acpi_gbl_ns_properties[type]) & ACPI_NS_NEWSCOPE); | 676 | return_UINT32(((u32)acpi_gbl_ns_properties[type]) & ACPI_NS_NEWSCOPE); |
677 | } | 677 | } |
678 | 678 | ||
679 | /******************************************************************************* | 679 | /******************************************************************************* |