driver core: delete virtual directory on class_unregister()
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 20 Nov 2006 19:53:18 +0000 (04:53 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Dec 2006 23:38:45 +0000 (15:38 -0800)
commit44c53c4ff01a3551e9d73604eba42e372e9d0c1a
tree0c23a5dca8631209cc008ef896e09cfbaf303c41
parent1f71740ab9714bf5ae9ee04c724ff0d5c67ca3dc
driver core: delete virtual directory on class_unregister()

Class virtual directory is created as the need arises.
But it is not deleted when the class is unregistered.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c