aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/100-board.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:36 +0000
commit5427e47e59272c7e11554b1c654a997173c7f941 (patch)
treec6637514d3c61d188bb8cfde69a6aad9b46dd499 /target/linux/atheros/patches-3.10/100-board.patch
parent630eac6638a0a351226258b894dd7cb65e8bb979 (diff)
downloadupstream-5427e47e59272c7e11554b1c654a997173c7f941.tar.gz
upstream-5427e47e59272c7e11554b1c654a997173c7f941.tar.bz2
upstream-5427e47e59272c7e11554b1c654a997173c7f941.zip
atheros: remove parentheses around return values
Remove parentheses around return values since return is no a function, as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41083
Diffstat (limited to 'target/linux/atheros/patches-3.10/100-board.patch')
-rw-r--r--target/linux/atheros/patches-3.10/100-board.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch
index 4f7b07255c..0bd3410e38 100644
--- a/target/linux/atheros/patches-3.10/100-board.patch
+++ b/target/linux/atheros/patches-3.10/100-board.patch
@@ -661,7 +661,7 @@
+
+/* Returns gpio for IRQ attached. Unchecked function */
+static inline int irq_to_gpio(unsigned irq) {
-+ return (irq - (AR531X_GPIO_IRQ(0)));
++ return irq - AR531X_GPIO_IRQ(0);
+}
+
+#include <asm-generic/gpio.h> /* cansleep wrappers */