rtc: clean up indentation issues, remove extraneous space, add missing tabs
authorColin Ian King <colin.king@canonical.com>
Thu, 1 Nov 2018 14:53:52 +0000 (14:53 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Nov 2018 22:14:07 +0000 (23:14 +0100)
Trivial fix to clean up indentation issues, remove spaces, add missing
tabs

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ep93xx.c
drivers/rtc/rtc-max6916.c
drivers/rtc/rtc-rk808.c

index 694038208745a3f8ca0a1548b6fa28c89bfe284f..1932a4f861d1b993893a35fa6b3f073ea5af4b46 100644 (file)
@@ -61,7 +61,7 @@ static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm)
        struct ep93xx_rtc *ep93xx_rtc = dev_get_platdata(dev);
        unsigned long time;
 
-        time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA);
+       time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA);
 
        rtc_time_to_tm(time, tm);
        return 0;
index 7e908a490cf691e5deb6b8ac6182eb65d39661f5..9d4b407cc4b89b4869c866e8dce062d737c23f76 100644 (file)
@@ -86,7 +86,7 @@ static int max6916_set_time(struct device *dev, struct rtc_time *dt)
        if (dt->tm_year < 100 || dt->tm_year > 199) {
                dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n",
                        dt->tm_year + 1900);
-       return -EINVAL;
+               return -EINVAL;
        }
 
        buf[0] = MAX6916_CLOCK_BURST & 0x7F;
index 739c0d42e835321a8273d1371df361012281e7cb..b2f9e45e0298c58721015a865633e7fd23ec87bf 100644 (file)
@@ -400,7 +400,7 @@ static int rk808_rtc_probe(struct platform_device *pdev)
        if (ret) {
                dev_err(&pdev->dev,
                        "Failed to write RTC status: %d\n", ret);
-                       return ret;
+               return ret;
        }
 
        device_init_wakeup(&pdev->dev, 1);