From: Eric W. Biederman Date: Tue, 14 Sep 2010 18:36:54 +0000 (-0700) Subject: uio: Don't clear driver data X-Git-Tag: v2.6.37-rc1~156^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70a9156bad9d9d1476df35dde582b9f411bf5914;p=pandora-kernel.git 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 Reviewed-by: Thomas Gleixner Signed-off-by: Hans J. Koch Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed