rtc: mc13xxx: fix style issue
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Apr 2019 08:33:08 +0000 (10:33 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Apr 2019 16:06:54 +0000 (18:06 +0200)
Use unsigned int instead of unsigned.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mc13xxx.c

index 475def1604e63f3fa1d139a3c3bd578a19d81991..afce2c0b4bd6784a67ab061b54bef2ce26bd0154 100644 (file)
@@ -155,7 +155,7 @@ out:
 static int mc13xxx_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm)
 {
        struct mc13xxx_rtc *priv = dev_get_drvdata(dev);
-       unsigned seconds, days;
+       unsigned int seconds, days;
        time64_t s1970;
        int enabled, pending;
        int ret;