Andrew Morton 78d89ef40c rtc: convert LEAP_YEAR into an inline
- the LEAP_YEAR macro is buggy - it references its arg multiple times.
  Fix this by turning it into a C function.

- give it a more approriate name

- Move it to rtc.h so that other .c files can use it, instead of copying it.

Cc: dann frazier <dannf@hp.com>
Acked-by: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: stephane eranian <eranian@googlemail.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 08:59:24 -07:00
..
2009-02-05 12:56:46 -08:00
2009-02-05 12:56:46 -08:00
2009-02-11 14:25:36 -08:00
2009-01-06 15:59:25 -08:00
2009-01-04 13:33:20 -08:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:25 -08:00
2008-10-16 11:21:39 -07:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-01-05 18:15:25 +00:00
2009-01-11 01:34:24 +01:00
2008-10-20 08:52:41 -07:00
2009-03-20 18:57:35 +09:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00