drivers/rtc/rtc-mxc.c: fix checkpatch error
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:05:59 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:47 +0000 (16:07 -0700)
Fixes the following error:

  ERROR: spaces required around that '>=' (ctx:WxV)

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>
drivers/rtc/rtc-mxc.c

index 9a3895bc4f4da1dc86d6b5fad6668f6df85bb04d..bf00d6dbeadd577c45374895cfabf8d437f8560a 100644 (file)
@@ -436,7 +436,7 @@ static int mxc_rtc_probe(struct platform_device *pdev)
                pdata->irq = -1;
        }
 
-       if (pdata->irq >=0)
+       if (pdata->irq >= 0)
                device_init_wakeup(&pdev->dev, 1);
 
        rtc = devm_rtc_device_register(&pdev->dev, pdev->name, &mxc_rtc_ops,