mmc: meson-gx: improve variable usage in meson_mmc_start_cmd
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 22 Mar 2017 21:33:47 +0000 (22:33 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:45 +0000 (21:41 +0200)
commita322febe37432443b8d0adb0b630a9f91961152c
tree36f67d613319ed7549fb8e8cf89b0a754cdf18c9
parent00412ddc4ae929419a64bc9766205aac0467e664
mmc: meson-gx: improve variable usage in meson_mmc_start_cmd

Simplify the code by using two variables instead of a struct sd_emmc_desc.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
drivers/mmc/host/meson-gx-mmc.c