commit | 2f8d16a996da0b9be2536994aa7a825418364471 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Fri Mar 09 19:34:19 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Mar 09 08:41:16 2007 -0500 |
tree | 9daa94bf22e72948ade47d052c7e0995fe68db11 | |
parent | 1aa506e437a94d520f852d39d5d6a6e7f2e01901 [diff] |
devres: release resources on device_del() Some platform devices are driven without driver attached, so managed resources can be acquired without driver attached. Make sure such resources are released by calling devres_release_all() in device_del(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>