UIO: fix kobject usage
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Dec 2007 22:41:54 +0000 (22:41 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:26 +0000 (20:40 -0800)
commit81e7c6a636c81d9eeaeaa732bfbace44535fab00
treefecb19e67acb96c2c9a11194ebebca63f0139f02
parent9f66fa2a4690a16da0dbaae2f44ddfc313802504
UIO: fix kobject usage

The uio kobject code is "wierd".  This patch should hopefully fix it up
to be sane and not leak memory anymore.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c
include/linux/uio_driver.h