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_QBCM

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-20-c03aaeffc769@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Konrad Dybcio and committed by
Georgi Djakov
a18e26a5 edd13c04

-8
-8
drivers/interconnect/qcom/bcm-voter.h
··· 12 12 13 13 #include "icc-rpmh.h" 14 14 15 - #define DEFINE_QBCM(_name, _bcmname, _keepalive, ...) \ 16 - static struct qcom_icc_bcm _name = { \ 17 - .name = _bcmname, \ 18 - .keepalive = _keepalive, \ 19 - .num_nodes = ARRAY_SIZE(((struct qcom_icc_node *[]){ __VA_ARGS__ })), \ 20 - .nodes = { __VA_ARGS__ }, \ 21 - } 22 - 23 15 struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name); 24 16 void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm); 25 17 int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);