uio: Don't clear driver data
authorEric W. Biederman <ebiederm@aristanetworks.com>
Tue, 14 Sep 2010 18:36:54 +0000 (11:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:16:43 +0000 (10:16 -0700)
commit70a9156bad9d9d1476df35dde582b9f411bf5914
treee44b2b21f59375eedd0431a1ea31aa26b4f602dd
parent3d4f9d76b0641b7984f95982e390927fc5998ad6
uio: Don't clear driver data

Currently uio sets it's driver data to NULL just as it is unregistering
attributes.  sysfs maks the guaranatee that it will not call attributes
after device_destroy is called so this is unncessary and leads to lots
of unnecessary code in uio.c

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c