OSDN Git Service

mmc: meson-gx: remove member mrq from struct meson_host
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 4 Mar 2017 12:36:45 +0000 (13:36 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:12 +0000 (21:41 +0200)
commit7cdcc480e4c32b0480233adb196a573ef538a6b6
tree9febf29103be81d6addc8bd871ac8fc264c785d4
parentc01d1219ace5768c18eb33f28d06937819f65b13
mmc: meson-gx: remove member mrq from struct meson_host

Struct mmc_command includes a reference to the related mmc_request.
Therefore we don't have to store mrq separately in struct meson_host.
And we can remove some now unneeded WARN_ON's.

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