diff options
author | Yue Hu <huyue2@yulong.com> | 2021-05-21 06:44:32 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-06-14 14:57:40 +0300 |
commit | 83c49302566ea7328e6962fb81ceada2c93486b9 (patch) | |
tree | fd60c437fefbb81053dfb97abdd00d8bce28e0f5 /arch/sparc/lib/GENpatch.S | |
parent | 47d23c95fe0518b6e4cf7d7f6829987f377bd0d3 (diff) | |
download | linux-83c49302566ea7328e6962fb81ceada2c93486b9.tar.xz |
mmc: cqhci: introduce get_trans_desc_offset()
The same calculation to get transfer descriptor offset is already used
at 3 different locations. Let's create a new helper to simplify code.
Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210521034432.2321-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/sparc/lib/GENpatch.S')
0 files changed, 0 insertions, 0 deletions