mmc: dw_mmc: Convert to use DEFINE_SHOW_ATTRIBUTE
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 23 Feb 2018 08:47:26 +0000 (16:47 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Mar 2018 12:04:29 +0000 (13:04 +0100)
commit64c1412b77d08df1bc4ddea1187eb8a76df1186c
tree9e69ac0623a55b44f1b3538f3552bc40fc1ecae4
parent871cfe05f40b52ebb692c56eecd1d27b673d8a21
mmc: dw_mmc: Convert to use DEFINE_SHOW_ATTRIBUTE

Use the newly added macro to simply to the code.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c