mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
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>
This commit is contained in:
parent
3ff2e13ce1
commit
365c411d81
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user