]> 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)
commit196aa40fe86d606958861689d900eb8dcd7230cf
tree5a527862ff7f792a23adc188d3aaa9cc4ff4f3eb
parente5cb1e4b79baaf80b31269bace4f996f3a23820a
mmc: sdhci: use FIELD_GET for preset value bit masks

commit 3892e08426c04a3c95972a176e18da0b3ea7ac97 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