]> git.baikalelectronics.ru Git - kernel.git/commit
interconnect: Add of_icc_get_by_index() helper function
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 12 May 2020 12:53:20 +0000 (15:53 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Wed, 13 May 2020 11:06:32 +0000 (14:06 +0300)
commitc8d5cf7c53922bf9ad2c197e73e6042eb4b5c191
tree9af03d1e45b6202065fdd5f27aaf55c8e56c6e5d
parent9b3ba36095d0fe4ace7a94fa411734a70b2bcbe8
interconnect: Add of_icc_get_by_index() helper function

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: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200512125327.1868-4-georgi.djakov@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/core.c
include/linux/interconnect.h