diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-09-02 22:46:46 (GMT) |
---|---|---|
committer | Andy Gross <agross@codeaurora.org> | 2015-10-14 19:51:20 (GMT) |
commit | f02dc82523a72619a10e24355c7b2f12c6814d52 (patch) | |
tree | 10cb23429120a5d45237f219ae75b542a827ded1 /drivers/hwmon/tc74.c | |
parent | 9806884d8cd552e6926c162a022cc4b948f4abc8 (diff) | |
download | linux-f02dc82523a72619a10e24355c7b2f12c6814d52.tar.xz |
soc: qcom: smd: Represent channel layout in structures
The rx and tx channel info are laid out in memory next to each
other, and there are two types of channel info structures, byte
based and word based. We have 4 pointers to these info
structures, when we really only need two to point to the
different types of structures. Encapsulate the byte based and
word based tx/rx structures in a "channel pair" structure that
describes the layout of memory and reduces the number of pointers
in the smd channel structure by two.
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'drivers/hwmon/tc74.c')
0 files changed, 0 insertions, 0 deletions