mmc: meson-gx: remove unneeded variable in meson_mmc_clk_init
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 4 Mar 2017 12:22:57 +0000 (13:22 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:08 +0000 (21:41 +0200)
commit7558c11378dd0ff1525a0cca5180804f6428af20
tree78a2387d8192e64b9d9d6cfdc25cb3262257ad43
parent9a1da4df8502dd658db850650137d401b1fe123d
mmc: meson-gx: remove unneeded variable in meson_mmc_clk_init

Because the DT requires a fixed number of mux parent clocks,
variable mux_parent_count can be replaced with constant
MUX_CLK_NUM_PARENTS, so remove it.

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