The patch titled
rtc: update documentation wrt irq_set_freq
has been removed from the -mm tree. Its filename was
rtc-update-documentation-wrt-irq_set_freq.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: rtc: update documentation wrt irq_set_freq
From: Mike Frysinger <[EMAIL PROTECTED]>
Document the proper use of the irq_set_freq function.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
Cc: Alessandro Zummo <[EMAIL PROTECTED]>
Cc: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
Documentation/rtc.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN Documentation/rtc.txt~rtc-update-documentation-wrt-irq_set_freq
Documentation/rtc.txt
--- a/Documentation/rtc.txt~rtc-update-documentation-wrt-irq_set_freq
+++ a/Documentation/rtc.txt
@@ -182,8 +182,8 @@ driver returns ENOIOCTLCMD. Some common
since the frequency is stored in the irq_freq member of the rtc_device
structure. Your driver needs to initialize the irq_freq member during
init. Make sure you check the requested frequency is in range of your
- hardware in the irq_set_freq function. If you cannot actually change
- the frequency, just return -ENOTTY.
+ hardware in the irq_set_freq function. If it isn't, return -EINVAL. If
+ you cannot actually change the frequency, do not define irq_set_freq.
If all else fails, check out the rtc-test.c driver!
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
git-watchdog.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html