commit | 80271e9a6fd0db9cb3a85d024664da886e94315c | [log] [tgz] |
---|---|---|
author | Avri Altman <avri.altman@wdc.com> | Tue Sep 26 13:00:02 2023 +0300 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Sep 27 12:49:39 2023 +0200 |
tree | 4b7c0b5bcc7417c683c21ce41e54f56d31648df8 | |
parent | 0b3b45b00d58c7bd745771f2eaef66a2530af0a9 [diff] |
mmc-utils: lsmmc: Reuse do_read_reg All 3 register parsing: CID, CSD, and CSR follow the same structure - reuse it instead of duplicating the code 3 times. No functional change. Signed-off-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20230926100006.1789276-2-avri.altman@wdc.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>