[PATCH v6 08/10] coresight: Refactor driver data allocation