]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
driver core:fix duplicate removing driver link in __device_release_driver
authorMing Lei <tom.leiming@gmail.com>
Wed, 17 Dec 2008 15:15:35 +0000 (23:15 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 18:44:33 +0000 (10:44 -0800)
commit7232800ba8aca1c070d43a81cc49991f230b5da1
tree131859d01c113a4ca2fe116b935c4cf351413d82
parentec0676ee28528dc8dda13a93ee4b1f215a0c2f9d
driver core:fix duplicate removing driver link in __device_release_driver

In __device_release_driver(),driver_sysfs_remove() has removed the
driver link under device dir in sysfs, but sysfs_remove_link() is
called again to do such thing. Remove the duplicate call to
sys_remove_link().

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c