diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-04-08 16:21:05 +0900 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-28 11:20:57 +0200 |
commit | a8e809ecaeb49fd53bbbed05a8257d35b9858c31 (patch) | |
tree | acb9bf6de0c29b79f7252207b606157a70915cf2 /drivers/bluetooth | |
parent | 2941e4ca2057d6ebba1d93ff1930c6e4c18b63fb (diff) |
mmc: sdhci: use FIELD_GET/PREP for capabilities bit masks
Use FIELD_GET and FIELD_PREP to get access to the register fields. Delete
the shift macros and use GENMASK() for the touched macros.
Note that, this has the side-effect of changing the constants to 64-bit on
64-bit platforms.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200408072105.422-2-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions