mmc: sdhci: use FIELD_GET for preset value bit masks
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 12 Mar 2020 11:00:50 +0000 (20:00 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:39:53 +0000 (14:39 +0100)
commitfa0910107a9fea170b817f31da2a65463e00e80e
treec2cfa84ea746e68a581748c713128775d189c184
parentfdd8eef4be53fcb4f50dbe4c6ee7a334a395f9ee
mmc: sdhci: use FIELD_GET for preset value bit masks

Use the FIELD_GET macro to get access to the register fields.
Delete the shift macros.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Link: https://lore.kernel.org/r/20200312110050.21732-1-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h