OSDN Git Service

mmc: sdhci-msm: Utilize bulk clock API
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Sep 2017 23:35:23 +0000 (16:35 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:40:07 +0000 (11:40 +0100)
commite4bf91f6723e493175eedfd2760f0ffda19756fa
tree08a7dfd6a293d2628fc6949892aa70767267ac61
parent68481a7e1c84b652c03bd714c1028fb8ea680a9d
mmc: sdhci-msm: Utilize bulk clock API

By stuffing the runtime controlled clocks into a clk_bulk_data array we
can utilize the newly introduced bulk clock operations and clean up the
error paths. This allow us to handle additional clocks in subsequent
patch, without the added complexity.

Cc: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Jeremy McNicoll <jeremymc@redhat.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c