]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8473ebd56ddaca5dff15b963ae24c1df272d094b
treec2cfa84ea746e68a581748c713128775d189c184
parentbc630764cfcb836a3e063f0e5b3520e1479044db
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