Re: [PATCH] interconnect: qcom: Simplify the vcd compare function

2020-10-13 Thread Mike Tipton
On 10/13/2020 10:19 AM, Georgi Djakov wrote: Let's simplify the cmp_vcd() function and replace the conditionals with just a single statement, which also improves readability. Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/bcm-voter.c | 15 --- 1 file changed, 4 insert

[PATCH] interconnect: qcom: Simplify the vcd compare function

2020-10-13 Thread Georgi Djakov
Let's simplify the cmp_vcd() function and replace the conditionals with just a single statement, which also improves readability. Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/bcm-voter.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/in