]> git.baikalelectronics.ru Git - kernel.git/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)
commit01689511bccb000f502812c2053327641e26251b
tree2395a370a84775541aa9c4a05b51b1d3c46eeae3
parent0cf496d34f4b1029cc9e362dd4b8d0862fe6c642
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