Drivers code cleanup
correct power off