From: David Brownell Date: Tue, 16 Oct 2007 08:28:16 +0000 (-0700) Subject: rtc_irq_set_freq() requires power-of-two and associated kerneldoc X-Git-Tag: v2.6.24-rc1~970 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97144c67566241db46633727f2860e6428373fe4;p=pandora-kernel.git rtc_irq_set_freq() requires power-of-two and associated kerneldoc RTC periodic IRQs are only defined to work for 2^N Hz values. This patch moves that validity check into the infrastructure, so drivers don't need to check it; and adds kerneldoc for the two interface functions related to periodic IRQs. (One of which was quite mysterious until its first use was recently checked in!) Signed-off-by: David Brownell Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed