[PATCH v2 03/23] interconnect: fix provider registration API