mmc: sdhci-pxav2: switch to managed clk and sdhci_pltfm_unregister()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 23 Aug 2017 04:15:01 +0000 (13:15 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:44 +0000 (15:03 +0200)
commit3fd1d86f03cbcc7a894cf0e7a70e8758c5f12882
tree4b783b0c6071d79fda22d65c48425d5dbd5a13d7
parenta232a8f2d10750733c54e92ad85da7f8223b1382
mmc: sdhci-pxav2: switch to managed clk and sdhci_pltfm_unregister()

The difference between sdhci_pxav2_remove() and sdhci_pltfm_unregister()
is clk_put().  It will go away by using the managed resource clk, then
sdhci_pltfm_unregister() can be reused.

Also, rename the jump labels to say what the goto does. (Coding style
suggested by Documentation/process/coding-style.rst)

Signed-off-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-pxav2.c