]> err.no Git - linux-2.6/commit
rtc: simplified rtc sysfs attribute handling
authorDavid Brownell <david-b@pacbell.net>
Tue, 8 May 2007 07:33:33 +0000 (00:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:18 +0000 (11:15 -0700)
commit446ecbd925dc580c9972049c926c17aa8d967fe4
tree54a7c06513606034a777a7382500c672cf3feb93
parentab6a2d70d18edc7a716ef3127b9e13382faec98c
rtc: simplified rtc sysfs attribute handling

This simplifies the RTC sysfs support by removing the class_interface that
hooks it into the rtc core.  If it's configured, then sysfs support is now
part of the RTC core, and is never a separate module.

It's another step towards being able to remove "struct class_device".

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-By: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/class.c
drivers/rtc/rtc-core.h
drivers/rtc/rtc-sysfs.c