This is the same as the traditional of_icc_get() function, but the
difference is that it takes index as an argument, instead of name.
Signed-off-by: Georgi Djakov <georgi.djakov@xxxxxxxxxx>...
---
v7:
* Addressed review comments from Sibi.
* Re-based patch.
v2: https://lore.kernel.org/r/20190423132823.7915-3-georgi.djakov@xxxxxxxxxx
drivers/interconnect/core.c | 68 +++++++++++++++++++++++++++---------
include/linux/interconnect.h | 6 ++++
2 files changed, 58 insertions(+), 16 deletions(-)
diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c
index 2c6515e3ecf1..648237f4de49 100644
--- a/drivers/interconnect/core.c
+++ b/drivers/interconnect/core.c
@@ -351,9 +351,9 @@ static struct icc_node