[PATCH v2 0/8] coresight: Fix device registration and unregistration