Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: omap_hsmmc: Remove unused iclk

After runtime conversion to handle clk, iclk node is not used.
However fclk node is still used to get clock rate.

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

authored by

Balaji T K and committed by
Chris Ball
101ed47e fa4aa2d4

-10
-10
drivers/mmc/host/omap_hsmmc.c
··· 150 150 struct mmc_command *cmd; 151 151 struct mmc_data *data; 152 152 struct clk *fclk; 153 - struct clk *iclk; 154 153 struct clk *dbclk; 155 154 /* 156 155 * vcc == configured supply ··· 1934 1935 1935 1936 spin_lock_init(&host->irq_lock); 1936 1937 1937 - host->iclk = clk_get(&pdev->dev, "ick"); 1938 - if (IS_ERR(host->iclk)) { 1939 - ret = PTR_ERR(host->iclk); 1940 - host->iclk = NULL; 1941 - goto err1; 1942 - } 1943 1938 host->fclk = clk_get(&pdev->dev, "fck"); 1944 1939 if (IS_ERR(host->fclk)) { 1945 1940 ret = PTR_ERR(host->fclk); 1946 1941 host->fclk = NULL; 1947 - clk_put(host->iclk); 1948 1942 goto err1; 1949 1943 } 1950 1944 ··· 2095 2103 pm_runtime_mark_last_busy(host->dev); 2096 2104 pm_runtime_put_autosuspend(host->dev); 2097 2105 clk_put(host->fclk); 2098 - clk_put(host->iclk); 2099 2106 if (host->got_dbclk) { 2100 2107 clk_disable(host->dbclk); 2101 2108 clk_put(host->dbclk); ··· 2130 2139 pm_runtime_put_sync(host->dev); 2131 2140 pm_runtime_disable(host->dev); 2132 2141 clk_put(host->fclk); 2133 - clk_put(host->iclk); 2134 2142 if (host->got_dbclk) { 2135 2143 clk_disable(host->dbclk); 2136 2144 clk_put(host->dbclk);