mmc: dw_mmc: use macro for HCON register operations
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 16 Sep 2015 06:41:37 +0000 (14:41 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:16 +0000 (16:00 +0100)
commit70692752af12e2dbae48685b1d07fe7bdb2fab31
tree129794f3ec8467a9f474e7e8b01a6709284427eb
parent3fc7eaef44dbcbcd602b6bcd0ac6efba7a30b108
mmc: dw_mmc: use macro for HCON register operations

This patch add some macros for HCON register operations
to make code more readable.

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