Ralf Baechle b35692ebde [CHAR] ds1286: Fix handling of seconds in RTC_ALM_SET ioctl.
o Fix use of uninitialized variable sec.
 o Make the RTC_ALM_SET ioctl return -EINVAL for non-zero seconds - the
   DS1286 has no second field for the alarm time.
 o Replace the obscure BIN_TO_BCD macro with BIN2BCD.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-03-08 01:10:30 +00:00
..
2007-02-27 00:36:00 -05:00
2007-02-17 18:57:09 +01:00
2007-02-17 22:42:15 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:41 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-12 09:48:30 -08:00
2006-10-04 07:55:13 -07:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:57 -08:00
2006-11-22 14:57:56 +00:00
2006-12-08 08:28:57 -08:00
2007-02-11 10:51:26 -08:00
2007-02-11 10:51:26 -08:00
2007-02-20 17:11:55 +00:00
2007-02-20 17:11:55 +00:00
2005-05-04 07:33:13 -07:00
2007-01-22 08:53:24 -08:00
2007-02-11 10:51:30 -08:00
2007-02-11 11:18:06 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:26 -08:00
2005-04-16 15:20:36 -07:00
2007-02-12 09:48:30 -08:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:00 -08:00
2006-09-29 09:18:12 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:28 -08:00
2005-04-16 15:20:36 -07:00
2007-02-12 09:48:30 -08:00
2006-12-13 09:05:49 -08:00
2006-12-08 08:28:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2006-12-20 16:37:48 +11:00