summaryrefslogtreecommitdiff
path: root/arch/mips/loongson/common/gpio.c
diff options
context:
space:
mode:
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);