]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-at32ap700x.c: fix checkpatch error
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 7 Jun 2013 00:08:48 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:46 +0000 (15:42 +1000)
Fixes the following error:
ERROR: space required before the open parenthesis '('

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-at32ap700x.c

index f47fbb5eee8bddd5d29d360c8142fcfc4547e67e..128896da1a1465e00da81ff97d1cc9c311e02d13 100644 (file)
@@ -141,7 +141,7 @@ static int at32_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled)
 
        spin_lock_irq(&rtc->lock);
 
-       if(enabled) {
+       if (enabled) {
                if (rtc_readl(rtc, VAL) > rtc->alarm_time) {
                        ret = -EINVAL;
                        goto out;