]> git.hungrycats.org Git - linux/commit
[PATCH] Driver Core: add class_simple support
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 19 Jan 2004 08:33:14 +0000 (00:33 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 19 Jan 2004 08:33:14 +0000 (00:33 -0800)
commit7ad25aef21b02b215890bbe952fe23680df7e54a
tree4e32faee4be990a58629c30014cc2cbe0fdfc877
parent73009dd485707254f4ae4a59f242fa3e796041cb
[PATCH] Driver Core: add class_simple support

This patch adds a struct class_simple which can be used to create
"simple" class support for subsystems.

It also adds a class_release() callback for struct class, as it is
needed to properly handle the reference counting logic.
drivers/base/Makefile
drivers/base/class.c
drivers/base/class_simple.c [new file with mode: 0644]
include/linux/device.h