mmc: sh_mmcif: remove unnecessary int clk from struct sh_mmcif_host
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 23 Apr 2015 08:15:08 +0000 (08:15 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 May 2015 07:20:05 +0000 (09:20 +0200)
commit6aed678bcdee61ba8fb0b149dc4303b2f24993a2
treeda76df2fd43d8b1423c79a42ef68297f1330c596
parent60985c39cf85696cc408706193ab7bc80f0833e7
mmc: sh_mmcif: remove unnecessary int clk from struct sh_mmcif_host

struct sh_mmcif_host has 1) int clk, 2) struct clock *hclk,
and host->clk = clk_get_rate(host->hclk).
This int clk is not necessary. Let's remove it.
And, current hclk is confusable naming. Let's rename it to clk.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c