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-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-03-28 20:29:51 +00:00
2009-04-01 08:59:22 -07:00
2009-03-30 21:55:25 +10:30
2009-04-01 08:59:23 -07:00
2009-03-28 20:29:51 +00:00
2009-04-01 08:59:24 -07:00
2009-03-27 20:13:20 -04:00