Linux: Close spinlock device after gate is stopped