summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-04 00:05:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:46 +0200
commit365c411d812a67ae840c7fadd48a6813355b95c4 (patch)
tree73bd35319d5d4c7ca878928e7f1a5f26adb8df11 /drivers
parentdrivers/rtc/interface.c: fix checkpatch errors (diff)
downloadlinux-365c411d812a67ae840c7fadd48a6813355b95c4.tar.xz
linux-365c411d812a67ae840c7fadd48a6813355b95c4.zip
drivers/rtc/rtc-at32ap700x.c: fix checkpatch error
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-at32ap700x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-at32ap700x.c b/drivers/rtc/rtc-at32ap700x.c
index f47fbb5eee8b..128896da1a14 100644
--- a/drivers/rtc/rtc-at32ap700x.c
+++ b/drivers/rtc/rtc-at32ap700x.c
@@ -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;