aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.h
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2018-03-12 18:44:53 +0530
committerWolfram Sang <wsa@the-dreams.de>2018-03-24 13:19:28 +0100
commit6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c (patch)
tree7323f6e31848b6e14f67498155292232e71cecf1 /drivers/i2c/i2c-core.h
parenti2c: qup: minor code reorganization for use_dma (diff)
downloadlinux-dev-6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c.tar.xz
linux-dev-6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c.zip
i2c: qup: remove redundant variables for BAM SG count
The rx_nents and tx_nents are redundant. rx_buf and tx_buf can be used for total number of SG entries. Since rx_buf and tx_buf give the impression that it is buffer instead of count so rename it to tx_cnt and rx_cnt for giving it more meaningful variable name. Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Reviewed-by: Austin Christ <austinwc@codeaurora.org> Reviewed-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
0 files changed, 0 insertions, 0 deletions