detach kernel driver only if kernel driver is active