rtc-x1205: unconditionally set date when setting clock
authorJohannes Weiner <jw@emlix.com>
Wed, 16 Dec 2009 00:46:16 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:00 +0000 (07:20 -0800)
commitd973b632a362cb4075fbe5363eba238b6f245b55
tree6bbad233bd7c0f7fe5a6e2b98eaecfbb00a74479
parenta91912f8e4e92807d2cbf02d9687d421c1188f99
rtc-x1205: unconditionally set date when setting clock

All callsites of x1205_set_datetime() want the date to be set as well, so
remove the flag parameter and set it unconditionally.

Signed-off-by: Johannes Weiner <jw@emlix.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-x1205.c