Re: [PATCH v7 3/7] interconnect: Add of_icc_get_by_index() helper function

From: Sibi Sankar
Date: Mon May 04 2020 - 16:58:21 EST


On 2020-04-24 21:24, Georgi Djakov wrote:
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.


Reviewed-by: Sibi Sankar <sibis@xxxxxxxxxxxxxx>

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
...


--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.