]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:06 +0000 (11:23 +0100)
commit9f2c3ac235252703fb8a19f65794fe2b3cc98047
tree5a527862ff7f792a23adc188d3aaa9cc4ff4f3eb
parent6aff9c193a73531393895d86670cdabc248f1f85
mmc: sdhci: use FIELD_GET for preset value bit masks

commit 8473ebd56ddaca5dff15b963ae24c1df272d094b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h