]> err.no Git - linux-2.6/commit
[PATCH] i2c: cleanup m41t00
authorMark A. Greer <mgreer@mvista.com>
Fri, 31 Mar 2006 21:06:46 +0000 (23:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:32 +0000 (11:10 -0700)
commite931b8d8a428f87e6ea488d2fd80007bb66b3ea8
tree709992bdc7dee30f2eefd4b8481b09cb7dc4b670
parent02e0c5d5c2e00374b6808a42f8eea4ea9baaa216
[PATCH] i2c: cleanup m41t00

This patch does some cleanup to the m41t00 i2c/rtc driver including:
- use BCD2BIN/BIN2BCD instead of BCD_TO_BIN/BIN_TO_BCD
- use strlcpy instead of strncpy
- some whitespace cleanup

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/m41t00.c