diff options
author | Mark Zhan <rongkai.zhan@windriver.com> | 2007-10-16 01:28:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:13 -0700 |
commit | 88efe137394f58fb5893013e123e4bcf444fd44b (patch) | |
tree | 0db4b0a83b48101b52d597efb40d1a117ce1140e /drivers/rtc/rtc-ds1553.c | |
parent | 97144c67566241db46633727f2860e6428373fe4 (diff) | |
download | op-kernel-dev-88efe137394f58fb5893013e123e4bcf444fd44b.zip op-kernel-dev-88efe137394f58fb5893013e123e4bcf444fd44b.tar.gz |
rtc-dev: no need to convert file->private_data to rtc device
In rtc-dev.c, when a rtc device is opened, file->private_data is already
attached with the rtc device pointer, so there is no need to call
to_rtc_device() to convert file->private_data to a rtc device pointer.
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Mark Zhan <rongkai.zhan@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions