mmc: sdhci-cadence: refactor probe function
authorPiotr Sroka <piotrs@cadence.com>
Tue, 21 Mar 2017 14:33:26 +0000 (14:33 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:56 +0000 (21:41 +0200)
commitedf985790659503eedd5736ba89ad7e9fd754cf0
treea621bb02b139c8b6ea9b8801b9c0dc1c488c5b79
parenta89c472d8b55c5afc4c79e6e3d1338730034eb01
mmc: sdhci-cadence: refactor probe function

Use added dev variable for devm_clk_get.

Signed-off-by: Piotr Sroka <piotrs@cadence.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-cadence.c