]> err.no Git - linux-2.6/commit
uml: drivers get release methods
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:29 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:02 +0000 (12:13 -0700)
commit2e3f5251ac716879df6b6271f243f657c6e02e9a
tree2395a370a84775541aa9c4a05b51b1d3c46eeae3
parentd8839354a04181b4cc95cebf7f7622cf336bd58e
uml: drivers get release methods

Define release methods for the ubd and net drivers.  They contain as much of
the remove methods as make sense.  All error checking must have already been
done as well as anything else that might be holding a reference on the device
kobject.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/net_kern.c
arch/um/drivers/ubd_kern.c