]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: Remove superfluous cast in debugfs_create_u32() call
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 25 Oct 2019 09:41:30 +0000 (11:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Nov 2019 17:11:13 +0000 (18:11 +0100)
commite195287166e15058d49b0cffaa4df528bbad12c9
treefb3aa51186f0985e07baee8e34110c551c8a2aa2
parent918f6ee9474d5d0a53b8bcb0f6465da249a4dafe
mmc: dw_mmc: Remove superfluous cast in debugfs_create_u32() call

"dw_mci.state" is an enum, which is compatible with u32, so there is no
need to cast its address, preventing further compiler checks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20191025094130.26033-8-geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/dw_mmc.c