diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-11-01 10:53:52 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-11-12 17:14:07 -0500 |
commit | 725412d9e07aad88767ad847dcc81d60b617af99 (patch) | |
tree | dcac95835d043eb6f836eed16368f5e7c5eafe63 | |
parent | c50156526a2f7176b50134e3e5fb108ba09791b2 (diff) |
rtc: clean up indentation issues, remove extraneous space, add missing tabs
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>
-rw-r--r-- | drivers/rtc/rtc-ep93xx.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-max6916.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-rk808.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index 694038208745..1932a4f861d1 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c | |||
@@ -61,7 +61,7 @@ static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) | |||
61 | struct ep93xx_rtc *ep93xx_rtc = dev_get_platdata(dev); | 61 | struct ep93xx_rtc *ep93xx_rtc = dev_get_platdata(dev); |
62 | unsigned long time; | 62 | unsigned long time; |
63 | 63 | ||
64 | time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); | 64 | time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); |
65 | 65 | ||
66 | rtc_time_to_tm(time, tm); | 66 | rtc_time_to_tm(time, tm); |
67 | return 0; | 67 | return 0; |
diff --git a/drivers/rtc/rtc-max6916.c b/drivers/rtc/rtc-max6916.c index 7e908a490cf6..9d4b407cc4b8 100644 --- a/drivers/rtc/rtc-max6916.c +++ b/drivers/rtc/rtc-max6916.c | |||
@@ -86,7 +86,7 @@ static int max6916_set_time(struct device *dev, struct rtc_time *dt) | |||
86 | if (dt->tm_year < 100 || dt->tm_year > 199) { | 86 | if (dt->tm_year < 100 || dt->tm_year > 199) { |
87 | dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n", | 87 | dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n", |
88 | dt->tm_year + 1900); | 88 | dt->tm_year + 1900); |
89 | return -EINVAL; | 89 | return -EINVAL; |
90 | } | 90 | } |
91 | 91 | ||
92 | buf[0] = MAX6916_CLOCK_BURST & 0x7F; | 92 | buf[0] = MAX6916_CLOCK_BURST & 0x7F; |
diff --git a/drivers/rtc/rtc-rk808.c b/drivers/rtc/rtc-rk808.c index 739c0d42e835..b2f9e45e0298 100644 --- a/drivers/rtc/rtc-rk808.c +++ b/drivers/rtc/rtc-rk808.c | |||
@@ -400,7 +400,7 @@ static int rk808_rtc_probe(struct platform_device *pdev) | |||
400 | if (ret) { | 400 | if (ret) { |
401 | dev_err(&pdev->dev, | 401 | dev_err(&pdev->dev, |
402 | "Failed to write RTC status: %d\n", ret); | 402 | "Failed to write RTC status: %d\n", ret); |
403 | return ret; | 403 | return ret; |
404 | } | 404 | } |
405 | 405 | ||
406 | device_init_wakeup(&pdev->dev, 1); | 406 | device_init_wakeup(&pdev->dev, 1); |