Re: [PATCH] rtc: add support for maxim dallas rtc ds1347
From: Joe Perches
Date: Thu Mar 20 2014 - 17:08:25 EST
On Thu, 2014-03-20 at 22:01 +0100, Alessandro Zummo wrote:
> On Thu, 20 Mar 2014 12:19:55 -0700
> Joe Perches <joe@xxxxxxxxxxx> wrote:
> > This depends on how long you want to live, but it could be
> > while (dt->tm_year >= 100)
> dt->tm_year % 100 ?
Sure, if you don't mind the divide.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/