summaryrefslogtreecommitdiff
path: root/drivers/hwmon/tc74.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-09-02 22:46:46 (GMT)
committerAndy Gross <agross@codeaurora.org>2015-10-14 19:51:20 (GMT)
commitf02dc82523a72619a10e24355c7b2f12c6814d52 (patch)
tree10cb23429120a5d45237f219ae75b542a827ded1 /drivers/hwmon/tc74.c
parent9806884d8cd552e6926c162a022cc4b948f4abc8 (diff)
downloadlinux-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