[PATCH V7 04/11] coresight: Add helpers registering/removing both AMBA and platform drivers