From: David Brownell Date: Tue, 8 May 2007 07:33:46 +0000 (-0700) Subject: rtc: update to class device removal patches X-Git-Tag: v2.6.22-rc1~563 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3a58d2acc042f62cde932add8e1f9ed508368d;p=pandora-kernel.git rtc: update to class device removal patches Fix a goof in the revised classdev support for RTCs: make sure the /dev node info is ready before the device is registered, not after. Otherwise the /sys/class/rtc/rtcN/dev attribute won't be created and then udev won't have the information it needs to create the /dev/rtcN node. Signed-off-by: David Brownell Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed