[4.19-stable PATCH 3/6] libnvdimm/bus: Prevent duplicate device_unregister() calls