From: Jan Kardell Date: Wed, 10 Dec 2014 23:53:46 +0000 (-0800) Subject: rtc: pcf8563: clear expired alarm at boot time X-Git-Tag: omap-for-v3.19/fixes-rc1~142^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45d528aab8bcde68476b99403311422c91dc20a;p=pandora-kernel.git rtc: pcf8563: clear expired alarm at boot time In case the card is woken up of the rtc alarm, the devm_rtc_device_register function detects it as a pending alarm about a month in the future. Fix this by clearing the alarm in module probe. Signed-off-by: Jan Kardell Cc: Alessandro Zummo Cc: Grant Likely Cc: Rob Herring Cc: Vincent Donnefort Cc: Dan Carpenter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed