Re: [PATCH] rtc: add support for maxim dallas rtc ds1347

From: Alessandro Zummo
Date: Thu Mar 20 2014 - 17:01:48 EST


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 ?

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it

--
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/