summaryrefslogtreecommitdiff
path: root/arch/mips/loongson/common/gpio.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-10-21 16:12:49 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 09:44:49 +0300
commit635c99070600ff04b4c1d5afe67f051631a8397c (patch)
tree1ce0df0757aeebf58adb202d63a1525ff16abfd6 /arch/mips/loongson/common/gpio.c
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9 (diff)
downloadlinux-635c99070600ff04b4c1d5afe67f051631a8397c.tar.xz
MIPS: Remove useless parentheses
Based on the spatch @@ expression e; @@ - return (e); + return e; with heavy hand editing because some of the changes are either whitespace or identation only or result in excessivly long lines. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson/common/gpio.c')
-rw-r--r--arch/mips/loongson/common/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/gpio.c b/arch/mips/loongson/common/gpio.c
index 21869908aaa4..29dbaa253061 100644
--- a/arch/mips/loongson/common/gpio.c
+++ b/arch/mips/loongson/common/gpio.c
@@ -37,7 +37,7 @@ int gpio_get_value(unsigned gpio)
val = LOONGSON_GPIODATA;
spin_unlock(&gpio_lock);
- return ((val & mask) != 0);
+ return (val & mask) != 0;
}
EXPORT_SYMBOL(gpio_get_value);