Have the `put_device()` call after `device_unregister()` in both
`zfcp_unit_remove()` and `zfcp_sysfs_port_remove_store()` to make
it more natural, for put_device() ought to be the last time we
touch the object in both functions.
Suggested-by: Benjamin Block
Signed-off-by: Qinglang Miao
---
dri
Have the `put_device()` call after `device_unregister()` in both
`zfcp_unit_remove()` and `zfcp_sysfs_port_remove_store()` to make
it more natural, for put_device() ought to be the last time we
touch the object in both functions.
Suggested-by: Benjamin Block
Signed-off-by: Qinglang Miao
---
dri
2 matches
Mail list logo