Mark Zhan 88efe13739 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>
2007-10-16 09:43:13 -07:00
..
2007-10-16 09:43:13 -07:00
2007-05-08 11:15:18 -07:00
2007-07-31 15:39:44 -07:00
2007-07-26 11:35:17 -07:00
2007-07-17 10:23:09 -07:00
2007-05-08 11:15:18 -07:00
2007-08-22 19:52:45 -07:00
2007-08-22 19:52:47 -07:00
2007-05-17 05:23:05 -07:00
2007-05-08 11:15:18 -07:00
2007-07-31 15:39:36 -07:00
2007-05-08 11:15:18 -07:00
2007-09-11 17:21:20 -07:00