commit | d91e892825ae6f0ed4f8b07ae5d348eff86ab2ea | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Dec 11 23:24:10 2015 +0300 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Dec 11 14:24:26 2015 -0800 |
tree | e25ddeaa0a9eddc4ede432c2c4485e9504801153 | |
parent | 527e9316f8ec44bd53d90fb9f611fa7ffff52bb9 [diff] |
nfit: acpi_nfit_notify(): Do not leave device locked Even if dev->driver is null because we are being removed, it is safer to not leave device locked. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>