101b52d597efb40d1a117ce1140e parent 97144c67566241db46633727f2860e6428373fe4 author Mark Zhan 1192523297 -0700 committer Linus Torvalds 1192552993 -0700 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 Signed-off-by: Mark Zhan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ¼