From: Mark Zhan Date: Tue, 16 Oct 2007 08:28:17 +0000 (-0700) Subject: rtc-dev: no need to convert file->private_data to rtc device X-Git-Tag: v2.6.24-rc1~969 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88efe137394f58fb5893013e123e4bcf444fd44b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed