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)
commit118e11182a8168515a11b27c4c6d80fbb233b7f8
treefb3aa51186f0985e07baee8e34110c551c8a2aa2
parent0c40c1be2512abc99ea27df83f882dd61b5437bc
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