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