summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-02-26 23:09:40 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-27 10:15:49 +0100
commita5a928c51f807262a13e6e3412e0e1324f6b7aeb (patch)
tree43cf522f4bc693759d011b0d617b6a369d84bff6 /arch/arm/plat-mxc
parentARM: mx3: Let mx31 and mx35 share the same CCM header file (diff)
downloadlinux-a5a928c51f807262a13e6e3412e0e1324f6b7aeb.tar.xz
linux-a5a928c51f807262a13e6e3412e0e1324f6b7aeb.zip
ARM: Remove redundant ';' from avic_irq_set_priority()
One semi-colon at the end of the return statement is sufficient. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/avic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c
index 55f15699a383..689f81f9593b 100644
--- a/arch/arm/plat-mxc/avic.c
+++ b/arch/arm/plat-mxc/avic.c
@@ -60,7 +60,7 @@ static int avic_irq_set_priority(unsigned char irq, unsigned char prio)
unsigned int mask = 0x0F << irq % 8 * 4;
if (irq >= AVIC_NUM_IRQS)
- return -EINVAL;;
+ return -EINVAL;
temp = __raw_readl(avic_base + AVIC_NIPRIORITY(irq / 8));
temp &= ~mask;