commit | 7521621e600aeefe5ffcc1f90ae26a42fc20c452 | [log] [tgz] |
---|---|---|
author | Michal Suchanek <msuchanek@suse.de> | Fri Aug 11 15:44:43 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 18:02:46 2017 +0200 |
tree | 9aa634ae98e149c28f4e301f06b9352b0a74ac1a | |
parent | df44d30d28cb7dd4f3dc105d843a4a01f5dfc860 [diff] |
Do not disable driver and bus shutdown hook when class shutdown hook is set. As seen from the implementation of the single class shutdown hook this is not very sound design. Rename the class shutdown hook to shutdown_pre to make it clear it runs before the driver shutdown hook. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>