From 88efe137394f58fb5893013e123e4bcf444fd44b Mon Sep 17 00:00:00 2001 From: Mark Zhan Date: Tue, 16 Oct 2007 01:28:17 -0700 Subject: [PATCH] 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-format-patch failed