Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

interconnect: qcom: icc-rpmh: Retire DEFINE_QNODE

This helper has no users anymore. Kill it with heavy fire.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20230811-topic-icc_retire_macrosd-v1-10-c03aaeffc769@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Konrad Dybcio and committed by
Georgi Djakov
b32968a8 9e62ccde

-10
-10
drivers/interconnect/qcom/icc-rpmh.h
··· 120 120 size_t num_bcms; 121 121 }; 122 122 123 - #define DEFINE_QNODE(_name, _id, _channels, _buswidth, ...) \ 124 - static struct qcom_icc_node _name = { \ 125 - .id = _id, \ 126 - .name = #_name, \ 127 - .channels = _channels, \ 128 - .buswidth = _buswidth, \ 129 - .num_links = ARRAY_SIZE(((int[]){ __VA_ARGS__ })), \ 130 - .links = { __VA_ARGS__ }, \ 131 - } 132 - 133 123 int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, 134 124 u32 peak_bw, u32 *agg_avg, u32 *agg_peak); 135 125 int qcom_icc_set(struct icc_node *src, struct icc_node *dst);