]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-v3020.c: fix spacing issues
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 7 Jun 2013 00:08:54 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:50 +0000 (15:42 +1000)
Fixes the following type of issues:
WARNING: please, no space before tabs

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-v3020.c

index 4ee0e63ebba71b7cd072227ea059185cd99d529f..d07d8982302054cd18cf34d619c6fb0200df9c21 100644 (file)
@@ -16,7 +16,7 @@
  *                             - Use the generic rtc class
  *
  *  ??-???-2004: Someone at Compulab
- *                     - Initial driver creation.
+ *                     - Initial driver creation.
  *
  */
 #include <linux/platform_device.h>
@@ -278,13 +278,13 @@ static int v3020_set_time(struct device *dev, struct rtc_time *dt)
        dev_dbg(dev, "tm_year: %i\n", dt->tm_year);
 
        /* Write all the values to ram... */
-       v3020_set_reg(chip, V3020_SECONDS,      bin2bcd(dt->tm_sec));
-       v3020_set_reg(chip, V3020_MINUTES,      bin2bcd(dt->tm_min));
-       v3020_set_reg(chip, V3020_HOURS,        bin2bcd(dt->tm_hour));
+       v3020_set_reg(chip, V3020_SECONDS,      bin2bcd(dt->tm_sec));
+       v3020_set_reg(chip, V3020_MINUTES,      bin2bcd(dt->tm_min));
+       v3020_set_reg(chip, V3020_HOURS,        bin2bcd(dt->tm_hour));
        v3020_set_reg(chip, V3020_MONTH_DAY,    bin2bcd(dt->tm_mday));
-       v3020_set_reg(chip, V3020_MONTH,     bin2bcd(dt->tm_mon + 1));
-       v3020_set_reg(chip, V3020_WEEK_DAY,     bin2bcd(dt->tm_wday));
-       v3020_set_reg(chip, V3020_YEAR,         bin2bcd(dt->tm_year % 100));
+       v3020_set_reg(chip, V3020_MONTH,        bin2bcd(dt->tm_mon + 1));
+       v3020_set_reg(chip, V3020_WEEK_DAY,     bin2bcd(dt->tm_wday));
+       v3020_set_reg(chip, V3020_YEAR,         bin2bcd(dt->tm_year % 100));
 
        /* ...and set the clock. */
        v3020_set_reg(chip, V3020_CMD_RAM2CLOCK, 0);