aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-mc13xxx.c
diff options
context:
space:
mode:
authorAlexandre Belloni2019-04-16 10:33:08 +0200
committerAlexandre Belloni2019-04-16 18:06:54 +0200
commit9fc0fd5077badc3de5c40895beecee4f57d02423 (patch)
tree28761b788afa955b7706a6ff2a9ce7a23cdcaacb /drivers/rtc/rtc-mc13xxx.c
parentedd6d79ece9ab2b62cc5353b0225f75e18ca66e6 (diff)
rtc: mc13xxx: fix style issue
Use unsigned int instead of unsigned. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-mc13xxx.c')
-rw-r--r--drivers/rtc/rtc-mc13xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
index 475def1604e6..afce2c0b4bd6 100644
--- a/drivers/rtc/rtc-mc13xxx.c
+++ b/drivers/rtc/rtc-mc13xxx.c
@@ -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;