[driver] Use the static bus in detach function