]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfe69ff938e8ad043b00927a9bb6aa500e1e910c
treeda76df2fd43d8b1423c79a42ef68297f1330c596
parente327277a770e2a22166b8abb6d0e67cdc9c00c6e
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